hello am new to php + mysql, I am not able to connect php with my sql's giving him an error in mysql_fetch_array, I'm very new even if they could help me I would greatly appreciate it, the site is this www.creddinh.com.br/dinh, now I thank everybody, here's the piece of code.
Quote:
while($v=mysql_fetch_array($bB,MYSQL_ASSOC)){
$_CATEG["$v[id]"] = $v[nome];
}
$bB=mysql_query("SELECT * FROM {$DB_PRENOM}_subcategorias ORDER BY idcateg, nome");
while($v=mysql_fetch_array($bB,MYSQL_ASSOC)){
$_SUBCATEG["$v[id]"] = $_CATEG[$v[idcateg]].' - '.$v[nome];
}
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
using the correct name for the table you are tring to access would fix it.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?