Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,191,132 members, 7,943,085 topics. Date: Sunday, 08 September 2024 at 04:04 AM |
Nairaland Forum / Science/Technology / Programming / Need Ur Help (836 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)
Be The Best You Can Be ,and Make Yourself A Millioniar / Looking For A Web Developer & Web Designer? / Beauty Bias: Workplace Discrimination
(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. 4 |