Jump to content

[SOLVED] There or Not There


SkyRanger

Recommended Posts

Ok, I am not sure if I have been looking at too much code today or what, here is the problem I am having.  If a entry is there then show it, if not show nothing, and remove the white space.

 

Example:

 

id - 1

topic - Topic Here

note - Short note here

extnote - Extended note here

poster - Persons Name

 

So It would be:

 

Topic Here

 

Short note here

Extended note here

By: Persons Name

 

What I can't get to work is if extnote is empty and have it just go:

 

Topic here

 

Short note here

By: Persons Name

 

The problem I am having is that it goes:

 

Topic here

 

Short note here

 

By: Persons Name

 

Anybody have any ideas on how I can fix this?

Link to comment
https://forums.phpfreaks.com/topic/68545-solved-there-or-not-there/
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.