Re: [PHP] Problem with Javascript:...submit()

2005-10-13 Thread Jochem Maas
Stephen Leaf wrote: On Thursday 13 October 2005 01:13 am, Johan Grobler wrote: while ($row = mysql_fetch_array($sql_result)) { echo" ".$row['LITERATURE_title']." - ".$row['res_fname']." ".$row['res_lname']." ... Everything works as long as $row['LITERATURE_title'] is one word, see this var

Re: [PHP] Problem with Javascript:...submit()

2005-10-13 Thread Stephen Leaf
On Thursday 13 October 2005 01:13 am, Johan Grobler wrote: > while ($row = mysql_fetch_array($sql_result)) > { > echo" method=\"post\"> > >".$row['LITERATURE_title']." - ".$row['res_fname']." > ".$row['res_lname']." ... > > Everything works as long as $row['LITERATURE_title'] is one word, see thi

Re: [PHP] Problem with Javascript:...submit()

2005-10-12 Thread Minuk Choi
I'm just taking a wild guess... but I'm guessing that if you set a name with spaces, it'll be replaced with "_"(underscore). A couple of ways around this is to 1) figure out a way to assign a one-word name for all your books(e.g. Code, ID number, etc.) 2) generate a hash code(e.g. md5($

Re: [PHP] Problem with Javascript:...submit()

2005-10-12 Thread Jasper Bryant-Greene
Johan Grobler wrote: while ($row = mysql_fetch_array($sql_result)) { echo" ".$row['LITERATURE_title']." - ".$row['res_fname']." ".$row['res_lname']." ... Everything works as long as $row['LITERATURE_title'] is one word, see this variable contains the names of books, and if the books name is "He