Search the web
Sign In
New User? Sign Up
JavaScript_Official · JavaScript . AJAX . ActionScript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Get Data From Database   Message List  
Reply | Forward Message #16534 of 16808 |
Dear all,

How to get data from mysql database and the data shown automatically ?
For example : I have two input text (code and quantity)

Code Name Qty. Price Total
01 Pencil 2 2
4

When I fill the code textfield, name and price shown the correnct data
automatically and when I fill the price textfield, the total will shown the
correct data automatically. Please assist me. Thx.

Best Regards,

Son


---------------------------------
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!

[Non-text portions of this message have been removed]




Mon Jan 12, 2009 4:35 am

phpmks
Offline Offline
Send Email Send Email

Forward
Message #16534 of 16808 |
Expand Messages Author Sort by Date

Dear all, How to get data from mysql database and the data shown automatically ? For example : I have two input text (code and quantity) Code...
Watson L
phpmks
Offline Send Email
Jan 12, 2009
9:10 pm

JavaScript is not used to access databases. You need server-side code in ASP or similar. Regards, Dave Smart ... From: JavaScript_Official@yahoogroups.com ...
david.smart@...
smartwarecon...
Offline Send Email
Jan 13, 2009
4:59 pm

I wonder if you want to do the job under JavaScript. If you do. The solution will be difficult. Since JavaScript is ran in client's browser, it has no...
comphilip@...
comphilip
Offline Send Email
Jan 13, 2009
4:59 pm

Thanks for your solution. I will use php to get the data from server and it will be a variable. But how to show the variable with javascript ? Please give me a...
Watson L
phpmks
Offline Send Email
Jan 14, 2009
11:51 pm

You should consider using temp tables. When I have to change visible information depending on users' choice, I usually fetch all datas in the Javascript (using...
Sándor Tamás ...
santa750602
Offline Send Email
Jan 14, 2009
11:51 pm

Thanks for the solution. I wrote the coding a few day a go like this : function test() {  //var almt = 'test' var almt='<?php...
Watson L
phpmks
Offline Send Email
Feb 19, 2009
5:08 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help