Need Ur Help - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Need Ur Help (433 Views)
1 Reply
| Need Ur Help by skyhighweb(op): 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(op): 6:13pm On Feb 28, 2017 |
bassdow:sorry i meant another column my mistake, yeah assist as u can thanks i follow info |
I Need Ur Help People • I Need Ur Full Review • Help: Please All Nairaland Admin And Webmaster I Need Ur Help • 2 • 3 • 4
Tips On How To Earn Money Online • Two Blogs Plus Adsense For Sale • Bloggers Pls Hlp To Review...