Jump to content

[SOLVED] Selecting values that are not null


Richzilla

Recommended Posts

I have a database with a few cells that are blank. I want to only show those that have a value in them. SO i thought that using the following statement would help -

 

if ($download1 != "")

{

code

}

 

 

What do i have to put in the "" to make sure that only downlaods with a link will get displayed? Is there another way of perfroming the same function?

Thnaks for the swift repiles, however both ways are causing my broswer to lock up and timeout. However I think this is due to the sheer amount of data what i'm trying to display. I think i need to shorten the table size. thanks chaps it looks like iot works

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.