SQL script and php

SQL script and php

2 Comments on SQL script and php

As explained in my previous post, I’ve been working on getting the database operating. Using two different scripts called

  • sqlform.php
  • getsql.php

The names are actually irrelevant, I just named them that since it makes it easier for me to remember which ones does what.

sqlform.php does the following –> Users are introduced to a web-form where they will write relevant information in the boxes.

This information is then stored inside the SQL  database. Using the getsql.php will retrive the information and put it inside a table on a website.

This is the SQl form, combined with a small html script that will show the webform that is used to put data into the database.

This is a very simple script that just prints the content of 2 specific fields in the table of the database.

Martin Jørgensen

Martin Jørgensen

Got my degree from EAL in 2012 as an IT-Technologist with specialty in network. I enjoy living in a century where I can earn a living doing my hobby. Material I publish here are often part of my small projects.
Martin Jørgensen

Latest posts by Martin Jørgensen (see all)

Related Posts

  • Nicolai Clemmensen

    No, no, no, and no. Where’s the sanitation? … Where are the prepared statements? … And is that old style PHP SQL in 2012?… No! xD

    • Nicolai Clemmensen

      Oh… I see, those single quotes will make it not work anyway 😛

Back to Top