W winsikel Addict Joined Nov 23, 2014 Posts 7 Reaction 1 Points 64 Age 28 Feb 24, 2015 #1 pa help naman po .... mga php dev dyan .. pano po mag pasok ng data from database to combobox? thru php need lang po ng unting help...
pa help naman po .... mga php dev dyan .. pano po mag pasok ng data from database to combobox? thru php need lang po ng unting help...
X xardaxs Addict Feb 24, 2015 #3 $sql ="select * from locations where county=". $_POST['county']." and name='". $_POST['county']."'"; $query = mysql_query($sql); echo '<select name="country" size="1">'while($row = mysql_fetch_array($query)){ echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} echo '</select>'; (try mo to) echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} (yan yung combobox na my data galing database sana na gets mo)
$sql ="select * from locations where county=". $_POST['county']." and name='". $_POST['county']."'"; $query = mysql_query($sql); echo '<select name="country" size="1">'while($row = mysql_fetch_array($query)){ echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} echo '</select>'; (try mo to) echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} (yan yung combobox na my data galing database sana na gets mo)
W winsikel Addict Feb 24, 2015 TS TS #4 xardaxs said: dreamweaver ba ang gamit mo? Click to expand... brackets po ung gamit kong texteditor ..
xardaxs said: dreamweaver ba ang gamit mo? Click to expand... brackets po ung gamit kong texteditor ..
W winsikel Addict Feb 24, 2015 TS TS #5 xardaxs said: $sql ="select * from locations where county=". $_POST['county']." and name='". $_POST['county']."'"; $query = mysql_query($sql); echo '<select name="country" size="1">'while($row = mysql_fetch_array($query)){ echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} echo '</select>'; (try mo to) echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} (yan yung combobox na my data galing database sana na gets mo) Click to expand... hmmmm .. medyo magulo po ung sa may echo part .. pede po paexplain
xardaxs said: $sql ="select * from locations where county=". $_POST['county']." and name='". $_POST['county']."'"; $query = mysql_query($sql); echo '<select name="country" size="1">'while($row = mysql_fetch_array($query)){ echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} echo '</select>'; (try mo to) echo '<option value="'. $row['id'].'">'. $row['county'].'</option>';} (yan yung combobox na my data galing database sana na gets mo) Click to expand... hmmmm .. medyo magulo po ung sa may echo part .. pede po paexplain
X xardaxs Addict Feb 24, 2015 #6 yung sa echo nasa loob nun ang combobox.. tpos sa option dun mo eh lagay ung ibang data na gusto mo ipa labas.. attach mo dito ung mga form at dump mo ung database. try ko fix ung problemo mo. tpos post ko lng dito pag ok na...
yung sa echo nasa loob nun ang combobox.. tpos sa option dun mo eh lagay ung ibang data na gusto mo ipa labas.. attach mo dito ung mga form at dump mo ung database. try ko fix ung problemo mo. tpos post ko lng dito pag ok na...
W winsikel Addict Feb 24, 2015 TS TS #7 sige po lagay ko lang po sa media fire ung database namen and ung mga forms You do not have permission to view the full content of this post. Log in or register now. You do not have permission to view the full content of this post. Log in or register now. You do not have permission to view the full content of this post. Log in or register now. ay wag na lang po pala hirap po kase iexplain ee .. may iba ka pa po bang way para makapag lagay ako ng laman sa combobox galing database..
sige po lagay ko lang po sa media fire ung database namen and ung mga forms You do not have permission to view the full content of this post. Log in or register now. You do not have permission to view the full content of this post. Log in or register now. You do not have permission to view the full content of this post. Log in or register now. ay wag na lang po pala hirap po kase iexplain ee .. may iba ka pa po bang way para makapag lagay ako ng laman sa combobox galing database..
X xardaxs Addict Feb 24, 2015 #8 Thesis na buh nyo to? sa bahay ko na to eh dodownload pa uwi na kc ako.. off to work na
X xardaxs Addict Feb 25, 2015 #9 kapatid bat ang hirap eh download nito sa media fire.... wlang lumalabas. bigay mo nalang fb.
🤖 🤖 PHC Robot Jun 24, 2021 #10 Dear winsikel, Since 2 years have passed since the last reply in this thread, I am locking it to prevent necroposting. Feel free to start a new thread or contact any forum staff if you want this to be reopened. Thread closed.
Dear winsikel, Since 2 years have passed since the last reply in this thread, I am locking it to prevent necroposting. Feel free to start a new thread or contact any forum staff if you want this to be reopened. Thread closed.