Using $_get variables
I'm having some troubles using PHP $_get variables on a page. Let's use article as an example..
I've added article.php to vBadvanced and got the url index.php?page=Articles
The problem is that I need to pass on a variable with it so the script can pass it on to the SQL database.
I.eg like this index.php?page=Articles?articleID=200
Since I have this code:
$articleID = mysql_real_escape_string($_GET['articleID']);
$resource = mysql_query('SELECT * FROM articles where articleID = '.$articleID.'',$dbb) OR die(mysql_error());
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Additional CSS Variables.||MjrGaelic||"How Do I..." Questions||3||02-06-2007 06:43 PM|
|VB variables?||interfx||"How Do I..." Questions||5||11-12-2006 03:13 PM|
|Using variables from vb ?||LoOnEyToOnZ||"How Do I..." Questions||1||12-30-2005 04:10 PM|
|Passing variables?||cookie||"How Do I..." Questions||3||09-22-2005 11:51 AM|
|Passing $_GET variables 1.x style doesn't seem to work in 2.x||CareCureJeff||"How Do I..." Questions||9||06-22-2005 10:39 AM|