• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: die(); not working

die(); not working 13 years 6 days ago #13476

HI,

In the "Script called on form process" I am attempting to view the firstname variable on the screen to see what it is to help debug my script.
But it is not doing it and is continuing on and giving me the "The form has been submitted successfully. Thank you!" I do not see the firstname displayed as I would expect.

echo "<p>Firstname is:".$FIRSTNAME"</p>";
print_r($FIRSTNAME);
die();

Do you know why the die(); does not appear to be working?

Gail
The administrator has disabled public write access.

Re:die(); not working 13 years 6 days ago #13485

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

You have an error here:
echo "<p>Firstname is:".$FIRSTNAME"</p>";

should read:
echo "<p>Firstname is:".$FIRSTNAME."</p>";

The script was not running at all because of that syntax error, that's why it wasn't reaching the die(); statement.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!