3 require('../config/config.inc');
4 //connecting to database and creating universal $db object
5 require(SYSTEM_ROOT
.'/inc/log.inc');
6 require(SYSTEM_ROOT
.'/inc/database.inc');
7 require(SYSTEM_ROOT
.'/inc/nodes.inc');
8 $db=new CLASS_DATABASE();
13 $q="select node_creator, node_id from nodes where template_id='$type_id'";
16 while ($set->next()) {
17 $node_id=$set->getString('node_id');
18 $creator=$set->getString('node_creator');
19 $q="insert into neurons set dst='$dst_id',src='$node_id',link='hard',synapse_creator='$creator'";
This page took 0.475536 seconds and 4 git commands to generate.