Jump to content

RRWD

New Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

RRWD's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. it was set up like that because it was on a function.php page, which is what is needed. Right? I did comment it out and change it to result_set and it looped so we are getting somewhere.
  2. So I'm working on a bit of code that is supose to grab information and then run a loop. I've written something like this in the past but for some reason I cannot get it to work propery. I know I'm most likely missing something small but I can't find it. A fresh pair of eyes couldn't hurt. When I run it I get a blank page no error message. $query = "SELECT * FROM tbl_chapters "; $query .= "WHERE State = 'CA' "; $result_set = mysql_query($query, $connection); confirm_query($result_set); $chapter_set = mysql_fetch_array($result_set); return $chapter_set; while ($row = mysql_fetch_array($chapter_set)) { echo $row["Chapter"]; } Anyone?
×
×
  • 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.