How to check if SQL row exists using PHP?

1149180 pts.
Tags:
MySQL
PHP
SQL
How can I check if a SQL row exists using PHP? I'm currently using MySQL. Could I use PDO (PHP data object) to do this? Thank you so much.
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Thanks for coming to ITKE. I did a web search of your question
and found many sites that have information that would assist you. Here is a
link to one of them: https://www.sitepoint.com/community/t/mysql-best-way-to-check-if-record-exists-and-more/5031

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: