Jump to content

Recommended Posts

Posted

Indeed, I have XAMPP on my computer. I go to the location for the form and then go to the location for the the form response and still nothing. Even if the response is in my tabs and after I do my form nothing is displayed in the response part which is what I want.

Posted

The code itself is fine -- it works fine for me. As I said above, can you run other PHP code correctly? Other PHP code that uses GET or POST?

 

For example, what happens when you view a file in localhost that has this contents:

 

<?php phpinfo(); ?>

Posted

A clarification... The only time I get a blank screen for the form_response file is if:

 

-- I haven't visited form.php first and entered information/hit submit

-- If I try to access the file directly in c:\xampp\etc rather than through localhost

-- if the server isn't turned on (and I try to access the file directly, since obviously localhost won't work)

-- If the file ends in .html rather than .php

Posted
The code itself is fine -- it works fine for me. As I said above, can you run other PHP code correctly? Other PHP code that uses GET or POST?

 

For example, what happens when you view a file in localhost that has this contents:

 

<?php phpinfo(); ?>

 

That shows the contents table showing the php info.

 

So it is just the code for me not working. :S

Posted (edited)
Dunno. It sounds like you are doing the right things. The code itself looks fine and runs fine on my machine. You may try reinstalling XAMPP, or removing it and installing WAMP (in general I have found that people seem to have less trouble with WAMP.)

 

http://www.wampserver.com/

 

Wait sorry, didn't see the language change at the side.

Edited by Lewicide

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...