mysql - PHP POST & GET on the Same Page -


im running trouble here, im self learning php , trying sort out post , on same vieworder.php

for post have vieworder.php , using vieworder.php?order_id=550c92216efdb

my post working , sending data database when click on vieworder.php?order_id=550c92216efdb telling giving me undefined index: fields..

try using

if (isset($_post['your_post_variable_name'])){} 

for catch post and

if (isset($_get['your_get_variable_name'])){} 

for get. in way can handle each 1 separately.


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -