Answer by ColLeslieHapHapablap for Submit variable in URL to MySQL Database
Thanks for the responses. I ended up finding this page: https://www.binpress.com/tutorial/using-php-with-mysql-the-right-way/17 that described the process for using mysqli to connect to my database. I...
View ArticleAnswer by Gurtej Singh for Submit variable in URL to MySQL Database
User $_GET to retrive the value and put into your table.Example:code inside click.php<?php$id=$_GET['id'];$sql="Insert into table1 VALUES ($id)";mysqli_query($connect,$sql);echo...
View ArticleAnswer by Ash Dawson for Submit variable in URL to MySQL Database
Your best bet is to utilise $_GET['id'] which will take in the value from your url.After grabbing the id from your url you will want to use PDO or mysqli prepared statements in order to protect...
View ArticleSubmit variable in URL to MySQL Database
I would like to have a page that, when someone clicks a pre-formatted link I've sent, writes a variable in the URL to a MySQL database and just displays "Thank You" or something to the user....
View Article
More Pages to Explore .....