I created a sql database on my localhost machine later on i'd like to connect it to an online sql server for now i'd like to read the qr code using php code:
<?php
mysql_connect(“localhost“,”root“,”root“) or die(mysql_error());
mysql_select_db(“omi“) or die(mysql_error());
$data = mysql_query(“insert into $_GET[table] values ($_GET[id])”)
or die(mysql_error());
?>
which must take the input via a url localhost.com/get.php?table=id,id=1234 but there is an error saying parsing error on line 4, for reading via QRcode i will insert the server address in the QRcode along with the php values and read it via a barcode reader and push the code to insertion. how do i get the code working ??