php scripts not working in xampp + browser shows no error messages

So the log says your requests to phpmyadmin were received and processed correctly.

If you go to your original code file that was showing you a blank screen,
#1: Is it still blank if you’re using localhost?
#2: Does the access log show you attempting to get the file, and if so does it show a status code 200, or something else?

1 Like

WOW this is a solution !!!
I typed…
http://localhost:81/insert.html
and got this result
A new record has been created for your latest Diner
Warning: Header may not contain more than a single header, new line detected in C:\xampp\htdocs\inject.php on line 35
I’ve gone to phpmyadmin and lo and behold the new record is inserted !!!

There you go :slight_smile:
Looks like you’ve got an error to debug, but you’re at least on the right track now.

3 Likes

Dear m_hutley,
I was a bit put off by your simple start but boy was I wrong.
Your back to first principles method is ‘Genius’.
I thought I was stuck at the first hurdle and was about to give up on learning php
but you have saved the day!
I feel very cheered up!
Thanks for your sterling solution.
Kind Regards,
Zenon

5 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.