从php文件中检索数据到Jquery
问题描述:
我正在使用Jquery连接数据并将数据从数据库提取到下拉列表。我从Jquery文件本身传递数据库登录参数,但现在我想要Jquery文件从config.php文件中获取数据库参数。
任何建议..?
Hi,
i am connecting and fetching data from database to dropdownlist using Jquery. i am passing database login parameters from Jquery file itself, but now i want Jquery file to get the database parameters from the config.php file.
any suggestion..?
答
这可以帮助你>>
http:// stackoverflow。 com / questions / 5739782 / using-jquerys-get-to-retrieve-php-data [ ^ ]
http://stackoverflow.com/questions/9463434/retrieving-data-with-jquery-from-php-file [ ^ ]
http://stackoverflow.com/questions/16087878/jquery-calls-a-php-file- to-get-data-from-mysql-database [ ^ ]
http://api.jquery.com/jQuery.get/ [ ^ ]
问候......:)
may this help you >>
http://stackoverflow.com/questions/5739782/using-jquerys-get-to-retrieve-php-data[^]
http://stackoverflow.com/questions/9463434/retrieving-data-with-jquery-from-php-file[^]
http://stackoverflow.com/questions/16087878/jquery-calls-a-php-file-to-get-data-from-mysql-database[^]
http://api.jquery.com/jQuery.get/[^]
regards...:)
http://stackoverflow.com / questions / 16087878 / jquery-calls-a-php-file-to-data-from-mysql-database [^] [ ^ ]