Posted by:
diabolini
(---.static.ip.netia.com.pl)
My script ( php ) works on two tables . Approximately 380 records downloaded oo Base to make the array . Sometimes Variables stops the value=1 instead of the values from the table. What's the problem ?
1.mysqli_connect......
2.mysqli SELECT1
3.while()
{
4.records from base1 to table1
}
5. mysqli SELECT2
6.while()
{
7.records from base2 to table2
}
8.function xyz(){ return //array}
9.$qwerty = xyz();
10.$abc=implode( " , " , $qwerty);
11. for()
{
12. if() mysqli INSERT
13. else mysqli UPDATE
}
14.header(" Refresh : 0 "
//end
Sometimes VARIABLE $abc assumes the value 1 - Why ? Should take the data from the array.
memory_get_usage(); // 365720
memory_get_peak_usage(true) // 2097152
php.ini
output_buffering = off
Edited 5 time(s). Last edit at 02/28/2016 07:38AM by diabolini.