Jump to content

[SOLVED] Check if database is empty


tecmeister

Recommended Posts

Hi Guys,

 

I'm trying to check the database to see if the user has inserted any images.

 

I've tried:

 

if(empty())

SELECT COUNT(userid) FROM personalImage WHERE userid='$id'.

 

Please will you be able to help me and tell me what I need to do.

 

Thanks,

 

tecmeister.

Link to comment
https://forums.phpfreaks.com/topic/181664-solved-check-if-database-is-empty/
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.