CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

1234
Return to list New
Author: purpyani

sape2 tau php+mysql

[Copy link]
 Author| Post time 7-5-2009 04:44 PM | Show all posts

Reply #59 peachtree's post

thanks..

tp dh prob ni setel dh..

thanks anyway...
Reply

Use magic Report


ADVERTISEMENT


Post time 8-5-2009 12:16 AM | Show all posts

Balas #60 purpyani\ catat

pakai dropdown??

<select name="subject" id="subject">
<option value="">--select--</option>
<?
$sql = mysql_query("SELECT column FROM table ORDER BY column ASC");
while($row = mysql_fetch_assoc($sql))
{
echo '<option value="'. $row['subject'] .'" >'. $row['subject'] .'</option>';
}
?>
</select>
Reply

Use magic Report

Post time 8-5-2009 12:17 AM | Show all posts
soklan 2 pon guna cara atas..

value --> letak nama subject..
yg dlm option letak kod subjek..
Reply

Use magic Report

Post time 9-5-2009 08:50 PM | Show all posts
Originally posted by purpyani at 7-5-2009 16:42
ni ade lg 1 problem,
ni sistem lain plak, sistem pemilihan subjek spm ikut kerjaya..

1Q: cmane nk call data (kod subjek) dr database ke list menu..

2Q: mcm mane kite nk keluarkn nama subj ...



erm kalau aku yang buat ..
aku guna javascript jer he...he..
coz baru blajar guna php wat aku pening skit...
Reply

Use magic Report

 Author| Post time 9-5-2009 09:09 PM | Show all posts

Reply #62 budingyun's post

trime kasih byk2..
len kali bleh la tnye lg yerk..hehe
Reply

Use magic Report

 Author| Post time 9-5-2009 09:10 PM | Show all posts

Reply #64 mastikaratu's post

nk gne javascript xleh sbb nk pngl data dr db..
Reply

Use magic Report

Follow Us
Post time 9-5-2009 09:48 PM | Show all posts
dh setel dh ker? if x.. nk tolong jugak la
Reply

Use magic Report

Post time 9-5-2009 11:36 PM | Show all posts

Balas #65 purpyani\ catat

sesama...
Reply

Use magic Report


ADVERTISEMENT


Post time 9-5-2009 11:37 PM | Show all posts

Balas #66 purpyani\ catat

javascript pon boleh guna dan amik dr db..
Reply

Use magic Report

Post time 9-5-2009 11:37 PM | Show all posts

Balas #67 liverpoolfctv\ catat

tunggu jer la..kang dia xtau pape dia btau le..
Reply

Use magic Report

 Author| Post time 11-5-2009 10:10 AM | Show all posts

Reply #70 budingyun's post

em..stil x dpt la..xdpt nk pngl dr db..
xpe la kut..hari nk present pn dh dekat..
pape pn, thanks...
nant ade mslh lain, sy infom..
mmg time kasih byk2 kt korg :handshake: :handshake:
Reply

Use magic Report

Post time 11-5-2009 06:58 PM | Show all posts

Reply #71 purpyani's post

aik xbleh..ada error x??

mgkn sintax sql ada salah kot..
Reply

Use magic Report

Post time 28-8-2009 03:06 PM | Show all posts
ape kata letak die(); sebelum header tu.. tgk ape save page tu display ape..
Reply

Use magic Report

Post time 28-8-2009 03:11 PM | Show all posts
huhu x pasan laks ade 3 pages dah thread ni.. ok ignore msg kat atas tu
Reply

Use magic Report

Post time 1-9-2009 05:29 PM | Show all posts
nk tny pasal php jgk.... baru blaja
hmm... mcm mna ye nk wt log in..
die pny command nk letak kt mane? (cthnye: compare id, pswd dr database tu)
Reply

Use magic Report

Post time 1-9-2009 05:31 PM | Show all posts
lg 1 kan.. mcm mna nk bg connection antra php ngn mysql?
Reply

Use magic Report


ADVERTISEMENT


Post time 2-9-2009 11:11 AM | Show all posts
kalau pakai dreamweaver ade tag kat tepi tue...
pegi kat application ~ click database ~ click + ~ then menu MySQL Connection ~ click

kuar popup
ko isikan sumer ~Connection name:db
MySqlServer:localhost
username:root
passwordslalu blank je)
then kat database tue sleect la database ko...gtu jer
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

9-1-2025 07:27 PM GMT+8 , Processed in 0.444595 second(s), 25 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list