Re: [PHP] Been staring at the code for too long...

2009-01-10 Thread Jason Pruim
On Jan 10, 2009, at 8:35 AM, tedd wrote: At 1:38 PM -0500 1/9/09, Jason Pruim wrote: mysqli_stmt_prepare($stmt, "UPDATE database.table ( Jason: Here's the problem, your code should read: mysqli_stmt_prepare($stmt, "UPDATE database.table SET ( You forgot the "SET". As a point of p

Re: [PHP] Been staring at the code for too long...

2009-01-10 Thread tedd
At 1:38 PM -0500 1/9/09, Jason Pruim wrote: mysqli_stmt_prepare($stmt, "UPDATE database.table ( Jason: Here's the problem, your code should read: mysqli_stmt_prepare($stmt, "UPDATE database.table SET ( You forgot the "SET". As a point of practice, I always use: $query = "UPDATE $d

Re: [PHP] Been staring at the code for too long...

2009-01-09 Thread Jason Pruim
On Jan 9, 2009, at 4:29 PM, Daniel Brown wrote: On Fri, Jan 9, 2009 at 13:38, Jason Pruim wrote: Okay... So I know this is a stupid question... It sure is. I'm going to rewrite the whole thing anyway... I think I can do it better/more efficient given the time to look at it. I reall

Re: [PHP] Been staring at the code for too long...

2009-01-09 Thread Daniel Brown
On Fri, Jan 9, 2009 at 13:38, Jason Pruim wrote: > Okay... So I know this is a stupid question... It sure is. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out!

Re: [PHP] Been staring at the code for too long...

2009-01-09 Thread Dan Shirah
> >mysqli_stmt_prepare($stmt, "UPDATE database.table ( >FName, LName, email, phone, > url, record, >subscribed, date, > IPAddress, Business, >Ad