Jump to content

Ending php?


Imtehbegginer

Recommended Posts

Hey, I dont have a sample of code handy... but.

 

 

Say im designing a register page, and if the passwords dont match, ill use

die('Passwords are wrong');

but that means the  error shows up, but what is supposed to be below it is gone..

 

Instead of using the die() command, how can i end the script without is cutting off half the page?

Link to comment
https://forums.phpfreaks.com/topic/103107-ending-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.