[PHP-DB] Putting a string into a variable.

2003-03-28 Thread Info_Best-IT
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] = table cellspacing=\0\trtd.$this-differentarray[0] [0]./td/tr/table; } When I echo $stringarray[1] it comes

[PHP-DB] MYSQL: INsert html form data;

2002-04-30 Thread Info_Best-IT
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: ?php $connection = mysql_connect(localhost,root, password) or die (The DataBase is Down!);