[PHP-DB] Putting a string into a variable.
I am having problems putting an html string into a variable to create an array of strings. something like this: $stringarray[] = array(); $i = 0; while ( $i < 6 ){ $stringarray[$i] = "".$this->differentarray[0] [0].""; } When I echo $stringarray[1] it comes up empty... Is there a special trick to get a string into an array or even store one as a variable. thanks, /Tim -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] MYSQL: INsert html form data;
I have a problem writing form data to a table in MySQL. I have an action.php file that it called when the information is submitted and it looks something like this: Thanks for submitting your name and e-mail, I will contact you soon to discuss your interest in more detail. I can tell the file is being called since the previous message appears in the window. But when I go to check out my table there are no records. Anyone see where this may be going wrong? I also set a php_error log path in the PHP.ini and I do not get any errors written there. I think it may be something else but not sure what... the site: www.best-it.biz the link: services thanks in advance! /Tim -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php