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

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

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