test3
[mirrors/Kyberia-bloodline.git] / trash / testing_cron.inc
1 <?php
2
3 function testing_cron() {
4 global $db,$error;
5
6 $q = "select node_vector,node_id,node_parent from nodes where node_name = 'successfully registered' and node_vector like '0087661102091448%'";
7 $set = $db->query($q);
8 while ($set->next()) {
9 $node_id = $set->getString('node_id');
10 $node_vector = $set->getString('node_vector');
11 $node_parent = $set->getString('node_parent');
12 echo $node_id . "<br>" . $node_vector . "<br>" . $node_parent . "<br>";
13 $q = "update nodes set node_vector = '0$node_parent"."0$node_id' where node_id = $node_id";
14 echo $q. "<br><br>";
15 $db->update($q);
16 }
17 return false;
18 }
19 ?>
This page took 0.25884 seconds and 4 git commands to generate.