Ask the Expert

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?

Requires Free Membership to View

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 first published in August 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: