You are here: Re: Is it PHP or is it an HTML problem « All PHP « IT news, forums, messages
Re: Is it PHP or is it an HTML problem

Posted by J.O. Aho on 08/17/06 17:48

Cool Shaker wrote:
> "> The value is from the previous time the page is shown, so if you go to
> the
>> page for the first time and pick one option and press on the Go button,
>> you will get the toptitlx as an empty data, as when the page is loaded for
>> the first time, the variable $myrow is empty. This leads the whole time
>> that you will get the previous times selection.

> Thanks for the reply
> How would I fix this so that the $toptitlx variable hold the current record
> rather than the first time around value?

Quite simple, use the value that is sent in the form

$toptitlx=$_POST['selectedmemory'];

No need of hidden input-tags.


//Aho

 

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

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