Quote:
This is showing the right number of rows (ie same number of rows as in that database but the text it shows is $catinfo[name] and i cant see why, as far as i can tell the variable have the same name etc (slightly dyslixic so dont hold me to that )
|
You must set a string with double quotes if you intend to include variables.
e.g.
PHP Code:
$name = "$bbuserinfo[username]";
Single quotes if otherwise:
PHP Code:
$name = 'John';