Jump to content

PHP IF?


Boxerman

Recommended Posts

Hi guys,

 

I'm trying to get a IF put into place, where it checks a database entry for the Username and if its there echo the ID of it...

 

i.e

 

If Boxerman has entered a news story in ID 4 echo 4 onto the page...

 

Database is news, so it has title, text, postedby, timestamp etc..

 

I want it to check the postedby field for the username.. Can this be done? if so how?

Link to comment
https://forums.phpfreaks.com/topic/249834-php-if/
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.