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

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -