[02-Nov-2015 20:18:10 UTC] PHP Warning: mysql_query(): Access denied for user 'samank'@'localhost' (using password: NO) in /home/samank/public_html/kategori.php on line 7
[02-Nov-2015 20:18:10 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /home/samank/public_html/kategori.php on line 7
[02-Nov-2015 20:18:10 UTC] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/samank/public_html/kategori.php on line 8
Bu arada weri tabanım wp_ ile başlamıyor samank_wp430
katagori.php
include("wp-config.php");
$isimx="select * from wp_term_taxonomy where taxonomy='category'";
$sorgu=mysql_query($isimx);
while($veri = mysql_fetch_array($sorgu))
{
$q2=mysql_query("Select * from wp_terms where term_id='$veri[term_id]'");
$r2=mysql_fetch_array($q2);
echo "-$r2[name]//$veri[term_taxonomy_id]-
";
}
?>
Sorunun çözümüne php versiyonunu 5.3 e çekerek çözdüm.