/    Sign up×
Community /Pin to ProfileBookmark

Load database records

Hello,

I want to create a phone rate php script as follow:

Country name <drop down box>
below it three div elements
<div id=”mobilePrice”></div>&nbsp;<div id=”countryFlag”></div>&nbsp;<div id=”fixedPrice”></div>

All the values for this script are stored in the database (mysql) I want when a user opens the page it loads country names from the database into the dropdown box, when the user select a country the div fields are filed with its values.

Can any body help me with this script ??

Thanx in advance,

to post a comment
PHP

2 Comments(s)

×

Success!

Help @b2009 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...