이 스크립트는 새로 고침 할 때마다 업데이트해야하지만 작동하지 않아야합니다. PHP에서 추가 사용자는 mysql_query에 후 다음 (0 호출 디버깅 SQL 쉽게하기 위해 나에게 손이 SQL 쿼리가 작동하지 않는 이유는 무엇입니까?
$yp = mysql_query("select id from yyy where twitterid = '$tid'");
$qq = "update yyy set twitterid = '$tid',
twitterkullanici = '$twk',
tweetsayisi = '$tws',
takipettigi = '$tkpettigi',
takipeden = '$tkpeden',
nerden = '$nerden',
bio = '" . mysql_real_escape_string($bio) . "',
profilresmi ='$img',
ismi = '$isim'
where id = '$yp'";
$xx = mysql_query($qq);
에 다음
을 할 필요가? mysql_error()는 무엇을 말합니까? –
가 생성 된 쿼리를 화면에 출력하면 구문 오류가 발생할 수 있습니다. – dnagirl