[CS-FSLUG] Looking for tips

Steven Fricke sfricke at oilstates.com
Fri Jul 2 09:51:46 CDT 2004


Still got it wrong!

I should never reply to emails with code the day before vacation!

if ($datareturned > '') {
echo "<table>
bla bla bla
</table>";
}

Actually, you can take it a little father with an else

if ($datareturned > '') {
echo "<table>
bla bla bla
</table>";
} else {
echo "There is no data\n";
}

I will be happy to send you the code for a page or two where I do this.

Steven

On Fri, 2004-07-02 at 09:21, David M. wrote:
> I hope theres some people on this list that will understand what im trying to 
> ask, because I hardly know where to begin.
> 
> What I am trying to learn here is how to create a table or a series of tables 
> that only appear on the page when there is content in the database. If there 
> is no content in the database the table automatically dissapears.
> 
> I don't know if this technique is a combination of CSS and HTML or DHTML or 
> java.
> 
> Anyone know anything about this?
> 
> Thanks,





More information about the Christiansource mailing list