Answers for "How to load a data and fill a table in php"

SQL
1

print all records of table in mysql

SELECT * FROM TABLE_NAME;
OR
SELECT column_name_1, column_name_2 FROM TABLE_NAME;
Posted by: Guest on May-12-2020
0

print data that will be inserted in the database

$key = strtoupper(c_security::random_string(22));
$c_con->query("INSERT INTO keys(key, days, used) VALUES ('$key',".c_security::anti_sql_string($_POST["daysammount"])."', '0')");
echo $key;
i think like that
Posted by: Guest on May-25-2020

Code answers related to "How to load a data and fill a table in php"

Code answers related to "SQL"

Browse Popular Code Answers by Language