[ask / help] Don't insert into database

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
gandahar
php-forum Fan User
php-forum Fan User
Posts: 112
Joined: Tue Mar 15, 2011 4:05 am

Tue Jun 28, 2011 7:01 am

hey man !!

are you crazy or what ?

you give a bit of code and what ??

what do you need, what the problem...

don't expect the people help you with this kind of messages

sorry man, but I have not bothered to read the code
ravisoni6262
New php-forum User
New php-forum User
Posts: 13
Joined: Mon Jun 13, 2011 4:08 am

Tue Jun 28, 2011 7:57 am

hERE IS your proble you missed a end round bracket ( ")" )
try this query
$sql = "insert into coba (no_daftar,nama,kode_mapel,nilai)
values('$no_daftar','$nama','$kode_mapel[bing]','$kode_mapel[mtk]','$nilai1[bing]','$nilai2[mtk]')";
simple !!!
for nay help on PHP / Mysql make a reach at http://php-mechanic.blogspot.com/
Post Reply