Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,820 members, 7,956,087 topics. Date: Monday, 23 September 2024 at 01:26 AM |
Nairaland Forum / Science/Technology / Programming / Need Ur Help (839 Views)
I Need Ur Help With My Project / Hello Programmer Need Ur Assistance / Bloggers Ur Help Is Neeeded Here.. (2) (3) (4)
(1) (Reply)
Need Ur Help by skyhighweb(m): 4:03pm On Feb 28, 2017 |
// $query = "SELECT shoe_id, shoes_image, shoes FROM " . $DBPrefix . "shoes"; $params[] = array(':shoe_id', floor($time_passed), 'int'); $db->query($query, $params); $TPL_shoe1_list = '<select name="shoe1">' . "\n"; while ($row = $db->fetch()) { $selected = ($row['shoes'] == $shoe1) ? 'selected="true"' : ''; $TPL_shoe1_list .= "\t" . '<option value="' . $row['shoes'] . '" ' . $selected . '>' . $row['shoes'] . '</option>' . "\n"; } $TPL_shoe1_list .= '</select>' . "\n"; shoe1 in the code is a table of its own, i want to add another table shoe_image, how do i go about it? thanks |
(1) (Reply)
April Fool Pranks: How To Make Harmless PC Hacks / Internet Blackout: Startups Now Operate From “internet Refugee Camp” / We Will Buid U A Professional Website
(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. 8 |