Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,684 members, 7,955,543 topics. Date: Sunday, 22 September 2024 at 08:52 AM |
Nairaland Forum / Science/Technology / Webmasters / Need Ur Help (386 Views)
I Need Ur Help People / I Need Ur Full Review / Help: Please All Nairaland Admin And Webmaster I Need Ur Help (2) (3) (4)
(1) (Reply)
Need Ur Help by skyhighweb(m): 4:11pm 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 |
Re: Need Ur Help by bassdow: 4:59pm On Feb 28, 2017 |
skyhighweb: What you should add is another column and not another table. This isn't where to easily assist you. Get in touch with me let me see more parts of the code and how they interconnect. Hope you can easily take and understand instructions when guided. |
Re: Need Ur Help by skyhighweb(m): 6:13pm On Feb 28, 2017 |
bassdow:sorry i meant another column my mistake, yeah assist as u can thanks i follow info |
(1) (Reply)
We Can Develop Our Own Technology In Nigeria / A Graphics Designer Needed To Join A Team / Do You Want To Create Riches Through Blogging?
(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. 14 |