Quote:
Originally Posted by Bird
Don't forget the ID key value for the tables next increment...if tour db reads
1 ok name number from to message
2 ok name number from to message
3 ok name number from to message
...
88 ok name number from to message
89 ok name number from to message
then the next input would fill automatically.
INSERT INTO modem2 ('id','zero','one') VALUES ('DELETETHIS', ".$new[0].",".$new[1].")";
see how the first value is blank, it would automatically populate id's next entry
90 ok name number from to message
91 ok name number from to message
|
hmm still having problems. how do I just echo a certain array. I got it to output:
Code:
Array ( [0] => 0 [1] => OK" [2] => +974941949", [3] => 09/12/15,03:06:18+00
So say I wanted to echo array 2 (+974941949), how would I echo it? I tried several variations such as
echo $array(2);
echo $array[2];
$array[2] = $hello; echo $hello;
etc, just cant seem to figure it out