I don't have a ton of php experience but I am trying to have math problem echoed in the same browswer screen upon submit. Problem is when I submit nothing appears it just looks like i refreshed the page. I've tried moving the php coding into a seperate .php file so the form can call it. the same thing happens though. Do I need to be connected to Wamp so php can work? I'm not calling mysql or anything.
RazorRamon 0 Junior Poster in Training
Recommended Answers
Jump to Post— Member #823006The PHP file must be in the root folder ("C:\Program Files\wamp\www\" maybe?) and WAMP (Apache server, to be exact) must be on. Then run it with "http://localhost/math_file.php" in your browser.
If this doesn't work, paste your code here within [.code][./code] tags. It might have something to do with …
Jump to Post— MooGeek 16please paste your code here :)
Jump to Post— flamer_x86 0if you're using wamp server just enable display errors in php settings in order for you to be prompted with an error message, so as for you to determine the error.
Jump to Post— MooGeek 16weird but it worked well with me... try changing $_REQUEST to $_POST
All 14 Replies
Member #823006
MooGeek 16 Posting Whiz
flamer_x86 0 Newbie Poster
RazorRamon 0 Junior Poster in Training
MooGeek 16 Posting Whiz
flamer_x86 0 Newbie Poster
kar123 0 Newbie Poster
Stefano Mtangoo 455 Senior Poster
MooGeek 16 Posting Whiz
RazorRamon 0 Junior Poster in Training
RazorRamon 0 Junior Poster in Training
MooGeek 16 Posting Whiz
Stefano Mtangoo 455 Senior Poster
RazorRamon 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.