You are here: Re: Question about form in PHP and MySQL « PHP Programming Language « IT news, forums, messages
Re: Question about form in PHP and MySQL

Posted by Gordon Burditt on 11/01/21 11:46

>I am new to PHP and MySQL. I was writing a script to pull data from
>SQL server and display the data. There's a "submit" button. When the
>user clicks "submit", the form calls itself and I "expect" the submit
>value is set. However, I find the $submit is never set. Is there
>something wrong with my script?

Use $_POST['submit'], not $submit .
'register_globals' is evil.

Gordon L. Burditt

 

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

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