This site requires JavaScript, please enable it in your browser!
Greenfoot back
malik_chaudhary
malik_chaudhary wrote ...

2016/12/30

how script to update value on greenfoot ?

malik_chaudhary malik_chaudhary

2016/12/30

#
i'm try it , but alwaays fail. i'm confused. please help me if you know. thank's
danpost danpost

2016/12/30

#
malik_chaudhary wrote...
i'm try it , but alwaays fail
Show what you tried. Explain how you failed.
malik_chaudhary malik_chaudhary

2016/12/31

#
I would like to print in the game and integrate the score into the database. So, one level score stored in the database, for the level of 2 I want to update it into the database, but it is not printed in the database
danpost danpost

2016/12/31

#
malik_chaudhary wrote...
I would like to print in the game and integrate the score into the database. So, one level score stored in the database, for the level of 2 I want to update it into the database, but it is not printed in the database
Cannot fix broken code without first seeing code to fix.
malik_chaudhary malik_chaudhary

2017/1/4

#
"UPDATE tbl_skor SET skor1_p1=0,skor2_p1=0,skor3_p1=0,skor1_p2='"+skor1p2+"',skor2_p2='"+skor2p2+"',skor3_p2='"+skor3p2+"',skor1_p3=0,skor2_p3=0,skor3_p3=0 WHERE skor1_p2='"+skor1p2+"'"
Nosson1459 Nosson1459

2017/1/4

#
malik_chaudhary wrote...
"UPDATE tbl_skor SET skor1_p1=0,skor2_p1=0,skor3_p1=0,skor1_p2='"+skor1p2+"',skor2_p2='"+skor2p2+"',skor3_p2='"+skor3p2+"',skor1_p3=0,skor2_p3=0,skor3_p3=0 WHERE skor1_p2='"+skor1p2+"'"
You probably have to/should show more code ((maybe even) the whole class).
You need to login to post a reply.