CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 3132|Reply: 12

help..help....PHP language

[Copy link]
Post time 20-10-2009 10:18 AM | Show all posts |Read mode
salam..kte nk tnye ni...
sape yg terer coding php???
huhuhuhu
nk mntk tlun ckit....hukhukhuk
Reply

Use magic Report


ADVERTISEMENT


 Author| Post time 20-10-2009 10:37 AM | Show all posts
sape kt cni terer php..
ni coding die...

****coding js/syrt die***

<script type="text/javascript">
function calculate(objInput){
var rating = 0;
if(objInput < 70%) {rating = 1;}
else if(objInput > 71% && objInput < 90%) {rating = 2;}
else if(objInput > 91% && objInput < 110%) {rating = 3;}
else if(objInput > 111% && objInput < 120%) {rating = 4;}
else if(objInput > 121% && objInput < 130%) {rating = 5;}
document.getElementById("prestasi").value = rating;
}
</script>
**** coding input data***

<tr>
<td>&nbsp;</td>
<td bgcolor="#CC0000" class="style52">SCORE (%) </td>
<td><div align="center"><strong>:</strong></div></td>
<td bgcolor="#CCCCCC"><input name="score" type="text" id="score" maxlength="30" onchange="calculate(this.value);"/></td>
<td bgcolor="#CC0000"><span class="style52">PRESTASI</span></td>
<td><div align="center"><strong>:</strong></div></td>
<td bgcolor="#CCCCCC"><input name="prestasi" type="text" id="prestasi" maxlength="30" /></td>
<td bgcolor="#CCCCCC">&nbsp;</td>
</tr>


tp bler kte msuk data..die x kuar nilai rating 2..
kosong jer...ada sape2x tau x pe mslah die..
huhuhu..plisss..urgent ni
Reply

Use magic Report

Post time 20-10-2009 04:09 PM | Show all posts
n javascript bukan php...

remove % tu.. goodluck
Reply

Use magic Report

 Author| Post time 21-10-2009 10:08 AM | Show all posts
ok bebehh..thnks bro..hehe
Reply

Use magic Report

Post time 28-10-2009 02:04 PM | Show all posts
3# BorderManager

lama tak nampak...
nak tanya tuan manager..
maleh nak selak page blakang2..
cemana nak print graf dlm fusionchart erk?
kalo sudi.. ada sample script aka php script yg dh siap??
Reply

Use magic Report

Post time 28-10-2009 05:22 PM | Show all posts
hehe...
tape tayah reply la..
dh dapat..:pompom:
Reply

Use magic Report

Follow Us
Post time 29-10-2009 09:24 AM | Show all posts
sendiri tanya sendiri jawap.........
lama tenggelam... pekabo
Reply

Use magic Report

Post time 29-10-2009 05:32 PM | Show all posts
sendiri tanya sendiri jawap.........
lama tenggelam... pekabo
BorderManager Post at 29-10-2009 09:24


ekekeke..
tapela.. dapat kedit fri..

tenggelam??
ha'ah.. sebab dah kena benam...

akak kabar baik...
Reply

Use magic Report


ADVERTISEMENT


Post time 29-10-2009 11:20 PM | Show all posts
aik......sapa lak benam n.....

persoalan pasal LEFT join tu saya dah jawap dlm PM

Reply

Use magic Report

Post time 30-10-2009 07:22 PM | Show all posts
ekekeke..
tapela.. dapat kedit fri..

tenggelam??
ha'ah.. sebab dah kena benam...

akak kabar baik...
ana_una Post at 29-10-2009 17:32


[Off Topic] : iskkk..iskkk.. avatar dia... huhuhu...
Reply

Use magic Report

Post time 2-11-2009 02:25 PM | Show all posts
10# epuel_slay


syyhhh... dendiam...
jgn bagitau org lain...
Reply

Use magic Report

Post time 2-11-2009 02:54 PM | Show all posts
abis benang org ko kacau....
Reply

Use magic Report

Post time 2-11-2009 04:30 PM | Show all posts
12# BorderManager

manade.... ni dok diam jer ni...
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

24-1-2025 05:47 AM GMT+8 , Processed in 0.251717 second(s), 26 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list