<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /><title>Untitled Document</title><Scriptlanguage= "JavaScript">varBC="";functionDoover (tr) {BC=Tr.style.backgroundColor; Tr.style.backgroundColor="#FF0000";}functiondoout (tr) {Tr.style.backgroundColor=BC;}</Script></Head><Body><Tablewidth= "100%"Border=0cellpadding=3cellspacing= "1"bgcolor= "BLACK"><?phpfor ($i =1; $i <=30; $i + +) {if ($i%2==0) {?><TRstyle= "Background-color:white;"onmouseover= "Doover (this)"onmouseout= "Doout (this)"><?php} else{?><TRstyle= "Background-color:yellow;"onmouseover= "Doover (this)"onmouseout= "Doout (this)"><?php}?><TD><?php echo $i?></TD><TD><?php echo $i?></TD><TD><?php echo $i?></TD></TR><?php}?></Table></Body></HTML>
Practice using PHP to make forms