Thread Starter
Thycos
(@thycos)
Guys i’ve this code actualy..
($wpdb->prepare("SELECT COUNT(meta_key) FROM $wpdb->postmeta WHERE meta_key = '$meta' AND post_id = $post_id; " ));
can you write to me the right code how it need to be ?
please help thx.. !
Thread Starter
Thycos
(@thycos)
Guys i solved the problem with that string :
$wpdb->prepare( "SELECT * FROM table WHERE id = %d", $id );
but when i put that the errors disappear ofc, but disappear my slider too..! What’s the problem ?
Thread Starter
Thycos
(@thycos)
Yep mate i saw that one, but i dunno how to resolve it. Someone can explain to me better ?