Reply to Re: Not finding results

Your name:

Reply:


Posted by J.O. Aho on 02/04/06 22:05

UKuser wrote:
> Having looked at the error - if I assign a value to $price it will do a
> correct SQL query, however it appears to not submit the input box, thus
> parsing the $price value.
>

if(!isset($_POST['price']) || empty($_POST['price'])) {
/* There hasn't been a ?price=XX sent to the page */
/* or it was completely empty when sent to this page */
$price=0;
} else {
/* We set the variable $price to the value sent from */
/* the previous form page */
$price=$_POST['price'];
}

[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

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