嘿, 有人可以告訴我爲什麼我的PHP doesen't在PGSQL中執行SQL代碼..連接工作正常,我發送查詢與p_send_query,但pg_execute doesen't工作..PHP PostgreSQL pg_exec不工作
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());
人們真的沒有興趣,詢問的問題他們在張貼問題 – 2011-02-05 08:05:09