| Forum |
|
|||||||
| Programming The destination for developers - C, C++, Java, Python and the lot |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
Security freak
Join Date: Jul 2007
Location: 01100001 01110100 00100000 01101000 01101111 01101101 01100101 00100001
Posts: 227
|
I would imagine that would require a decent amount of AJAX to accomplish. You could write a function in Javascript that handles retrieving the list of names from the server and call it "onChange" for your textbox. I'm not terribly versed in AJAX (my company just started really using it and I'm on the support programming team handling our previous version), so I can't be of much assistance with actual code...but AJAX should get you started in the right direction.
The same functionality might also be available in later versions of PHP (again, previous version of our software is still using PHP 4.4.x).
__________________
Linux Admin by profession. OpenBSD user by choice. |
|
|
|
|
#3 (permalink) | |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
@rocket357-- Since the things are happening at the client end, javascript/other client side script has to be used and the event can be based on key press or focus. These informations are already known to me.I was mainly asking about the informations on the integration of the php, javascript and the database for the problem mentioned by me.
Quote:
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
|
|
|
#4 (permalink) |
|
Security freak
Join Date: Jul 2007
Location: 01100001 01110100 00100000 01101000 01101111 01101101 01100101 00100001
Posts: 227
|
Don't ask for help then insult my intelligence when I offer assistance. When I said later PHP versions might have this functionality, I was speaking strictly in terms of the integration you asked about. I'm well aware that PHP is server-side. Sorry if I didn't make that crystal-clear.
If you're aware of Javascript client-side scripting, then what more do you need to know? Perhaps I've misunderstood the question, but it appears to me that you asked how one would go about retrieving a list of names to display for the user to choose from...please correct me if I'm wrong.
__________________
Linux Admin by profession. OpenBSD user by choice. |
|
|
|
|
#5 (permalink) |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
@rocket357-First of all I am extremely sorry if by any means I have ofended you. There was no such intention for a person who is trying to help me.I tried to explain the problem in greater detail and the doubts arised from your reply.
Sorry again if it hurted you unknowingly. Now my main doubt was that to access the database I am using a server side scripting and on the html page, a client side scripting.I donot have any idea, if it is possible to access the database with clientside scripting.If that is possible, it will solve my problem.
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
|
|
#6 (permalink) | |
|
eWebGuru
Join Date: Mar 2006
Location: Dehradun
Posts: 427
|
Quote:
__________________
Windows and linux hosting at http://www.ewebguru.com Get $50 per blog post PM me for details. |
|
|
|
|
|
#7 (permalink) | ||
|
Security freak
Join Date: Jul 2007
Location: 01100001 01110100 00100000 01101000 01101111 01101101 01100101 00100001
Posts: 227
|
Quote:
Quote:
And I bet if you google AJAX you'll find open source / free services (GWT, if you're into Java) that are ready to roll out to your server as an AJAX-compatible service. AJAX uses XML (Asynchronous Javascript And XML), so there's quite a bit of freedom in structuring requests/responses as you need. Good luck on the coding, and again, I apologise for my reaction in my last post.
__________________
Linux Admin by profession. OpenBSD user by choice. |
||
|
|
|
|
#8 (permalink) |
|
Wise Old Owl
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
|
Try jquery
__________________
KDE on ArchLinux PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only) Explore Technology @ http://www.itech7.com Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mysql Help | Desi-Tek.com | Open Source | 4 | 27-11-2006 12:24 PM |
| help in PHP-mysql | bukaida | Open Source | 7 | 08-11-2006 03:20 PM |
| MySQL - GUI / CLI | Trinity | QnA (read only) | 7 | 23-07-2005 07:25 PM |