Hey, can someone tell me why my php doesen t execute the SQL Code in PGSQL.. The connection is working fine, i send query s with p_send_query but pg_execute doesen t work ..
pg_send_query($PG_Con,
"INSERT into frontend_usermessage
(opened, created, text, to_user_id,
from_user_id, administrative, subject)
VALUES ( NULL , $created , $text , $to_user ,
$cookie , $admin , $fromuserr )")
or die(pg_error());
$credits_new = $credits - 1;
pg_send_query($PG_Con, "UPDATE users_mfuser SET song_credits= $credits_new
WHERE user_ptr_id= $cookie ") or die(pg_error());