![]() |
can't get info from mysql
ok i have a completely different page, nothing to do with vb, but here's what i have so far...
PHP Code:
|
This:
Code:
echo $shouts[name]; Code:
echo "$shouts[name]"; |
this is what i have now, i've narrowed it down and i know it's something to do with the SELECT
PHP Code:
Your name is ! Your name is ! Your name is ! Your name is ! so i dunno what the problem is, so hope someone can help :D |
Change this:
Code:
$getshouts = mysql_query("SELECT name FROM shouts"); Code:
$getshouts = mysql_query("SELECT name FROM shouts WHERE name=$name"); |
PHP Code:
this should work: PHP Code:
|
ok i finally got it, thanks all :D
|
All times are GMT. The time now is 08:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|