How to loop a php file when there is a $_GET? -


i little confused on structure need build php file.

i have $_session['listingname'] = $_get['listingname']; @ start of file, listingname last php file. want have button submit text , refresh page. not sure how should approach it, because if refresh/reload page, can't perform $_get['listingname'] gives error of undefined method.

some advice appreciated. thanks

try this...

if(!empty($_get['listingname'])) {     $_session['listingname'] = $_get['listingname']; } 

Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -