1. craignoid
  2. MAMP - Troubleshooting
  3. Sunday, 04 August 2019

I'm having a problem getting php in mamp to work properly. The issue is that its not detecting the $_GET super global but it detects the $_POST one just fine. Thus:

 

if(isset($_GET['id'])) {
$id = $_GET['id'];
}
else { echo "No Get detected!";}

 

The else condition is triggered when sending filename.php?id=1 either in the browser or as a link in the page. 

Any idea's how to get this working?



Accepted Answer Pending Moderation
0
Votes
Undo

Highlighted your code and moved the post. Consolidated some categories on this site that weren't working out or weren't getting good exposure so also to help keep things simpler.

 

Thanks

  1. more than a month ago
  2. MAMP - Troubleshooting
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!