[PHP] Re: [SPAM] Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-06-01 Thread Jason Pruim
On May 31, 2007, at 5:43 PM, Richard Lynch wrote: On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. He

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Richard Lynch
On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote: > Hi Everyone, I am attempting to setup a search field on a database > application I'm dinking around with and running into problems that > I'm hoping someone might be able to shed some light on. > > Here is the code I am using to display the resul

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Davi
Em Quinta 31 Maio 2007 16:38, Jason Pruim escreveu: > > > > while($result_row = mysql_fetch_array($result) { > > Worked perfectly after adding a closing ) Thanks for the tip! > Forgive me for that!!! #'_'# I *always* forget the closing )... =P -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Jason Pruim
On May 31, 2007, at 3:27 PM, Davi wrote: Em Quinta 31 Maio 2007 16:25, Jason Pruim escreveu: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. Here is th

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Dave Goodchild
Your problem is this: $result_row[] = mysql_query($query) or die(mysql_error()); ...you are assigning a query to a variable. What you need to do is something like this: $result = mysql_query($query) or die(mysql_error()); while ($result_row = mysql_fetch_array($result)) { . }

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Robert Cummings
On Thu, 2007-05-31 at 15:25 -0400, Jason Pruim wrote: > Hi Everyone, I am attempting to setup a search field on a database > application I'm dinking around with and running into problems that > I'm hoping someone might be able to shed some light on. > > Here is the code I am using to display t

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Davi
Em Quinta 31 Maio 2007 16:25, Jason Pruim escreveu: > Hi Everyone, I am attempting to setup a search field on a database > application I'm dinking around with and running into problems that > I'm hoping someone might be able to shed some light on. > > Here is the code I am using to display the resu