PDA

View Full Version : Database Query



redice
07-24-2005, 02:25 PM
Hi,

How can i use java scripts to search a database to give back results
when searched for? Can someone help me with the script and let me know
how to use it.
I wanted a script that could work like in the ones that work on yellowpages

eg:- http://www.yellowpages.com.au

please help

redice

mwinter
07-24-2005, 11:28 PM
How can i use java scripts to search a database to give back results when searched for?You can't. Database-related activities are performed on the server using a server-side language.


Can someone help me with the script and let me know how to use it.Search mechanisms aren't usually generic; they are specific to the content and schema. That said, the principle is typically the same.


I wanted a script that could work like in the ones that work on yellowpagesThat particular site appears to be using Java Server Pages (JSP).

On a point of pedancy: Java and JavaScript (and other ECMAScript derivatives) are completely unrelated. Furthermore, there's no such thing as 'java script(s)' or Javascripts, just like there aren't C++s.

Mike