You are here: Re: [PHP] Write from form to DB « PHP « IT news, forums, messages
Re: [PHP] Write from form to DB

Posted by John Nichel on 08/03/05 22:21

George B wrote:
<snip>
> It does not seem to be putting anything into the DB. Gives no errors,
> but I check PHP My Admin, and there is nothing in the users and
> passwords field. I think something isnt working.... hmmm
>

Without seeing more of your code, we won't be able to tell for sure, but
if I was a betting man, I'm going to say you didn't select the db (and
it's not in your query).

Right after you run your query, echo out mysql_error()

mysql_query ( $query );
echo ( "<br />" . mysql_error() . "<br />\n" );

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация