Jump to content

irebmy

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

irebmy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i'm trying to help you.. ok first your query must correct.means what do you want from your database like this: $query = "SELECT team_id, name FROM sport.team where team.team_id=11111 ORDER BY name "; then you need to do is the option select, like this: (query result) $result = pg_query($query); while($line = mysql_fetch_array($result)) { ?> <option value="<?=$line["team_id"];?>" <? if ($line['team_id'] ==$id) echo "selected"?>> <?=$line["name"];?> </option> <? } ?> </select> </td> </tr> </form> </table> i'm using mix html with php.and i dont know the risk,but i think it could solved your question. correct me if i'm wrong.
  2. i think you should try or download other php installation... i'm also got that problem before, then i change to php5.25 or you can copy the pg dll files to your current php installation. i'm using wamp server2.0.i think you should try it.. download the wamp server and addons php 5.25 or 5.26 http://www.wampserver.com/en/addons_php.php correct me if i'm wrong
  3. nice function... you solved it thanks man..
  4. thanks, i'll try it..
  5. hi there all, I need some help for rounding currency issue.. example: 0.98 round to 0.95 0.95 when round = 0.95 0.91 roun to 0.95. mean. i wanna round the end of number 0.98. if the end of number is 0.01,0.02,0.03&0.04 it would be automatic round to nearest 0.05 *0.01 round = 0.05 *if the mineral water =$0.71 i should get $0.75 and if the end of number is 0.06,0.07,0.08,0.09 it would automatic round to nearest -0.05 *0.06 round = 0.05 *if the mineral water = $0.79 then i should get $0.75 i had googling this for 2months and no answer.. please help me.TQ
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.