No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello all I am creating a page that dynamically updates as tables are added and removed from the database. Like so: [code=php] #connect to mysql $conn = @mysql_connect("localhost", "root", "*****") or die("Err:Conn"); #select db $rs = @mysql_select_db("ecf_training", $conn) or die("Err:Db"); $query="SELECT * FROM class"; $result=mysql_query($query); $num=mysql_numrows($result); $i=0; if($num != 0){ … |
|
Hello all I am creating a site for user registration to a class. As classes are added and removed, I have a dynamic table that updates to list the available dates. [code=php] $result = mysql_query("SELECT date, time, type FROM class"); while($row = mysql_fetch_array($result)){ printf("<tr>"); printf("<td><a href = 'registration.html'>%s</a></td> <td>%s</td> <td>%s</td>", … |