Jump to content

nwrfoto

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

nwrfoto's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Valid php scripts work fine. In fact everything works fine except that I have written a long script and cannot find the problem in the code without the error messages. I do NOT want to see messages such as undeclared variables etc but DO want to see those which are stopping the script from running.
  2. I'm becoming confused with php error reporting so I hope someone can helm me. Basically I want to see a message when I have an error in my code. For example a simple snippet like this should produce an error: echo "hello world" echo "hello world 2"; Without the semi-colon after the first echo i should get an error but what i actually get is a blank page. I have edited the php.ini and restarted the server to confirm that display errors is set to on (was originally off). I have also tried all of the error reporting types: (E_ALL, E_NOTICE etc etc etc) None of them will show an error message with the above type of error, only a blank screen. i do get messages if i do not declare a variable etc but the most common errors (for me at least) are syntax errors such as missing out semi colons or misplacing a bracket etc. How can I see these messages?????
  3. I have a simple mail script which contains text from a database which is stored using htmlentities() i.e. the letter á is stored as á so i need to send this text in an email and have it formatted correctly. i've tried various combinations of text and html mails with no luck. can anyone help?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.