1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Need help po sa php

Discussion in 'Coding, Programming' started by winsikel, 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...
     
  2. dreamweaver ba ang gamit mo?
     
  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)
     
  4. brackets po ung gamit kong texteditor ..
     
  5. hmmmm .. medyo magulo po ung sa may echo part .. pede po paexplain
     
  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...
     
  7. sige po :D

    lagay ko lang po sa media fire ung database namen and ung mga forms

    Please or Register to view links

    Please or Register to view links
    Please or Register to view links

    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..
     
    xardaxs likes this.
  8. Thesis na buh nyo to? sa bahay ko na to eh dodownload pa uwi na kc ako.. off to work na
     
  9. kapatid bat ang hirap eh download nito sa media fire.... wlang lumalabas. bigay mo nalang fb.
     
Tags / Keywords: