Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $otheruserbalquery = "SELECT * FROM balance_down WHERE user_id = '$other_user_id' ORDER BY charge_date ASC";
  2. $otheruserbalres = mysqli_query ($dbc, $otheruserbalquery) or trigger_error("Query: $otheruserbalqueryn<br />MySQL Error: " . mysqli_error($dbc));
  3.  
  4. $rows = array();
  5. while($row2 = $otheruserbalres->fetch_assoc()) {
  6. $rows[] = $row2;
  7. }
  8. return $rows;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement