Jump to content

Check that database entry exists?


Moron

Recommended Posts

I'm working on an employee leave program. The employee puts the employee number in and all sorts of wonderful things happen!  :o

But..... if they put in an invalid (nonexistent) employee number or just some gobbledegook, how can I give them a nice, clean "invalid entry" notice as opposed to SQL errors all over the page?
Link to comment
https://forums.phpfreaks.com/topic/18642-check-that-database-entry-exists/
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.