$table); } echo $table; ?> New Character •

$table); } echo $table; ?>
New CharacterEdit Powers 2. In the last file for this chapter, you ll create the ability to add and modify characters. Enter the next block of code and save it as charedit.php: 0) { while ($row = mysql_fetch_array($result)) { $pwrlist[$row[ id ]] = $row[ power ]; } } $sql = SELECT id, alias FROM char_main WHERE id != $char ; $result = mysql_query($sql) or die(mysql_error()); if (mysql_num_rows($result) > 0) { $row = mysql_fetch_array($result); $charlist[$row[ id ]] = $row[ alias ]; } if ($char != 0 ) { $sql = SELECT c.alias, c.real_name AS name, c.align, . l.lair_addr AS address, z.city, z.state, z.id AS zip . FROM char_main c, char_lair l, char_zipcode z . WHERE z.id = l.zip_id . AND c.lair_id = l.id . 308 Chapter 10
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Leave a Reply