Jump to content

dhmm

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dhmm's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello !!! Sorry about my English... Try this... I'm not tested the code... <?php //changes line in html and html code fuction endl() { return"\n<br/>"; } //show the id and name functin show($id,$name) { echo "ID : $id - NAME : $name".endl(); } $sql = "SELECT name,id FROM table_name ORDER BY name ASC"; $res =mysql_query($sql) or die (mysql_error()); while ($row = mysql_fetch_array($res)){ $name = $row['name']; $id=$row['id']; show($id,$name); } ?>
  2. Hello !!! I can help you but sorry about my English... Because, I'm learning ( You're new in PHP / I'm new in English ) For your question... Your data is in the file ??? Or your data is in the MySQL ??? Where is the ban data ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.