Machan How can I take two values from the address bar? and entering them to a SQL query?
Like this...
http://localhost/Eweb/biditem.php?id=1%20+%20table=book_new_item
these two values
id=1
table=book_new_item
I need them here.. Separately
SQL
$table=$_POST['table'];
$ids = $_POST['id'];
mysql_select_db($database_localhost, $localhost);
$query_items = "SELECT * FROM $table WHERE id= '$ids'";
Any1 can help???
Small Problem But I dont No PHP
Like this...
http://localhost/Eweb/biditem.php?id=1%20+%20table=book_new_item
these two values
id=1
table=book_new_item
I need them here.. Separately
SQL
$table=$_POST['table'];
$ids = $_POST['id'];
mysql_select_db($database_localhost, $localhost);
$query_items = "SELECT * FROM $table WHERE id= '$ids'";
Any1 can help???
Small Problem But I dont No PHP

