Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,151,246 members, 7,811,692 topics. Date: Sunday, 28 April 2024 at 05:21 PM |
Nairaland Forum / Science/Technology / Webmasters / Help Database Probs (510 Views)
Help! Database Invasion!!! / Having Probs Installing Fireboard Forum In Joomla 2.5.4 / Probs Hosting My Site Via Ftp! (2) (3) (4)
(1) (Reply)
Help Database Probs by Nobody: 11:02pm On Jul 04, 2011 |
<?php $query = "SELECT b.*, u.nick, u.rate_sum FROM " . $DBPrefix . "bids b LEFT JOIN " . $DBPrefix . "users u ON (u.id = b.bidder) WHERE b.auction = " . $id . " ORDER BY b.bid DESC, b.quantity DESC, b.id DESC"; $result_numbids = mysql_query($query); $system->check_mysql($result_numbids, $query, __LINE__, __FILE__); ?> plz help i need to add another table how do i do this let say table name is buyers dbprefix is the same as users |
Re: Help Database Probs by ogzille(m): 7:14am On Jul 05, 2011 |
do you want to select a column from another table? is the any similar column between the two tables? |
Re: Help Database Probs by Nobody: 10:31am On Jul 05, 2011 |
Yes i want to select another column from table buyer |
(1) (Reply)
Can A Suppose Webmaster Help Me Here / How Long Does It Take Before One Gets 2million Visitors Per Day / Website,graphic Desiger And Internet Marketer.
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |