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
Post a Comment