Q

Connecting a Web page to MySQL

MySQL expert Scott Noyes explains the three components of connecting a Web page to MySQL.

I need to run a SQL statement on a button click using Javascript in the LotusNotes Web form and get the value returned, based on that value I need to open a form. I tried to search for AJAX code on running a SQL statement but couldn't find any. What should I do to resolve this?

Connecting a Web page to MySQL requires JavaScript on the client to issue the request, MySQL on the server to handle the query and a server-side scripting language to stand in-between. You may use any language you wish; PHP, Perl and Python are popular candidates.

Here is an article showing each step is done and how to tie them together.

This was last published in August 2006

Dig Deeper on Open source databases

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close