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
[ask / help] Don't insert into database
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 13
- Joined: Mon Jun 13, 2011 4:08 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/
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/