I have 2 different questions:
I have this table built with information from a MySQL table as this:
> print("<table border=1 cellpadding=2 cellspacing=2 bordercolor=000000>"
;
> print("<tr><td width=20><b>Date:</b></td><td width=20><b>Time:</b></td><td
> width=100><b>Name:</b></td><td width=100><b>E-mail:</b></td><td
> width=200><b>Comment:</b></td></tr>"
;
>
> while($rad = mysql_fetch_array($GBResult))
> {
> print("<tr><td>"
;
> print($rad"RegDate"
;
> print("</td><td>"
;
> print($rad"RegTime"
;
> print("</td><td>"
;
> print($rad"name"
;
> print("</td><td>"
;
> print($rad"email"
;
> print("</td><td>"
;
> print($rad"comment"
;
> print("</td></tr"
;
> }
Question nr 1:
How can i apply a color for row 1 and then for row 2 another color?
Question nr 2:
The row called email fetches an e-mail value from the table. How can i make that a mailto link?
I have this table built with information from a MySQL table as this:
> print("<table border=1 cellpadding=2 cellspacing=2 bordercolor=000000>"

> print("<tr><td width=20><b>Date:</b></td><td width=20><b>Time:</b></td><td
> width=100><b>Name:</b></td><td width=100><b>E-mail:</b></td><td
> width=200><b>Comment:</b></td></tr>"

>
> while($rad = mysql_fetch_array($GBResult))
> {
> print("<tr><td>"

> print($rad"RegDate"

> print("</td><td>"

> print($rad"RegTime"

> print("</td><td>"

> print($rad"name"

> print("</td><td>"

> print($rad"email"

> print("</td><td>"

> print($rad"comment"

> print("</td></tr"

> }
Question nr 1:
How can i apply a color for row 1 and then for row 2 another color?
Question nr 2:
The row called email fetches an e-mail value from the table. How can i make that a mailto link?