In theory I know what I need but I cannot put it into Perl!
I am creating a schedule table that pulls dates and times from a MySQL table and if they exist highlights a html table.
I need something like this:
print "table...
print "table cell...
test a mysql select statement
print "table cell bgcolor =
red if true or white if false"
print another "table cell...
test a mysql select statement
print "table cell bgcolor =
red if true or white if false"
At present I can only figure out how to connect to the db and retrieve 1 SELECT statement! I don't know how to use multiple statements like I wish to use above. ANY help on this is really appreciated!
Si22.
I am creating a schedule table that pulls dates and times from a MySQL table and if they exist highlights a html table.
I need something like this:
print "table...
print "table cell...
test a mysql select statement
print "table cell bgcolor =
red if true or white if false"
print another "table cell...
test a mysql select statement
print "table cell bgcolor =
red if true or white if false"
At present I can only figure out how to connect to the db and retrieve 1 SELECT statement! I don't know how to use multiple statements like I wish to use above. ANY help on this is really appreciated!
Si22.