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.



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: