Hi guys
I have recently started learning PHP and have downloaded XAMPP.
I have been testing my work by amendingf the default index which is ran locally
What i want to do is run my HTML file which is a form that passes my PHP file a value through the post method and be able to check if the value i am posting is correct..
Is there anyway i can get my PHP file to show through the server when i press the submit button in the form
XAMPP query
Moderator: General Moderators
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: XAMPP query
Show all POST data
Access specific post data
The second one assumes you're trying to see what was in the following input element...
Code: Select all
<?php
print_r($_POST);
?>Access specific post data
Code: Select all
<?php
echo $_POST['my_form_name_value_here'];
?>Code: Select all
<input name="my_form_name_value_here" type="text" value="Hi Mom!" />