NYCPHP Meetup

[nycphp-talk] MySQL UPDATE

Aaron Fischer agfische at email.smith.edu
Tue Apr 5 16:51:45 EDT 2005



> Do you have code that only updates the field if it's not blank? If so, 
> that's
> your problem.
>

Embarrassingly enough, upon examining my code again I saw that my 
update function was checking to see if the elements of the array were 
empty, if they were, I didn't include them in the query statement I was 
preparing.

> Posting the code that does the update would be helpful.
>

Thankfully I have escaped the public shame I would have suffered had I 
posted my code.  =)

Thanks for the help Ken!

-Aaron




More information about the talk mailing list