Problem solve Get help with specific problems with your technologies, process and projects.

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.

Dig Deeper on Linux servers

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.

Please create a username to comment.