You may have some extra, or missing some, quotes in the TEXTFIELD-SQL.
 Try echoing the string coming from the text field. Also, use
mysql_error() to see what errors mysql is reporting.

-j

=P e p i e  D e s i g n s
 www.pepiedesigns.com
 Providing Solutions That Increase Productivity

 Web Developement. Database. Hosting. Multimedia.

On Fri, 9 Aug 2002, Liam Gibbs wrote:

> <<Is there any reason why a MySQL query won't run
> properly in a mysql_query command, but will run
> properly when I put the *exact same* statement into a
> textbox that inputs into a mysql_query command?>>
>
> UBF. Sorry for the false alarm, guys. I'm gonna go
> under a rock now. Thanks anyway, Rasmus. Your
> suggestion helps me for the future, anyway.
>
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to