Reply to Re: calling a javascript alert from php

Your name:

Reply:


Posted by IchBin on 07/14/06 14:23

David Haynes wrote:
>
> IchBin:
> 1. I made a mistake in the sample code I sent you in that the <FORM>
> tag is not properly terminated. The line should read:
> <FORM NAME="author" method="post" action="<?php echo
> $_SERVER['PHP_SELF']'?>">
> The last '>' was missing.
> 2. if you run the SQL query from the mysql command line, do you get
> what you expect?
> Hint:
> Add 'echo $sqlcmd;exit;' after the $sqlcmd= line and then cut and
> paste into a mysql command session
> 3. Adjust the sqlcmd and add 'limit 1' so that only one row is returned
> while debugging. If it is still not right, post the code and the output
> and I'm sure folks here will be all over it offering advice.
>
> -david-
>
David, thanks for all your help and tips. The sql is correct.

IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)

[Back to original 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

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