CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2813|Reply: 13

Need Help in MySQL

[Copy link]
Post time 10-11-2006 04:46 PM | Show all posts |Read mode
hey to every computer experts here
just nak tanye, macam mane nak INSERT picture to the database using MySQL statement?
tgh stuck kat situ la

im developing a system using ASP and MySQL

thanks guyz
Reply

Use magic Report


ADVERTISEMENT


Post time 10-11-2006 11:40 PM | Show all posts
Reply

Use magic Report

Post time 13-11-2006 12:29 AM | Show all posts
tak pun save the name of the file to the database, the file itself simpan as a file outside of the database. lagi database efficient. file tu pun kena somehow diupload or FTPed to the server.
Reply

Use magic Report

 Author| Post time 14-11-2006 01:15 AM | Show all posts
Originally posted by zenslack at 10-11-2006 11:40 PM
guna blob

http://dev.mysql.com/doc/refman/5.0/en/blob.html

baca dulu


thanks for the link
saya dah baca but still tak faham macam mane nak apply BLOB
leh tolong explain sikit
really appreciate it
Reply

Use magic Report

 Author| Post time 14-11-2006 01:16 AM | Show all posts
Originally posted by shahnazz at 13-11-2006 12:29 AM
tak pun save the name of the file to the database, the file itself simpan as a file outside of the database. lagi database efficient. file tu pun kena somehow diupload or FTPed to the server.


ermm.. macam mane nak upload to the server??
Reply

Use magic Report

Post time 14-11-2006 09:26 AM | Show all posts
try gedek this web site

http://www.hotscripts.com

ada sample PHP code, gedek2 la kat situ
kalau ada masa i pinpoint kat mana utk file upload

kat sana berlambak code bukan saja utk PHP, macam-macam ada...

selamat mencuba :bgrin:
Reply

Use magic Report

Follow Us
Post time 14-11-2006 08:31 PM | Show all posts
macam ni la yg aku suka lepak kt forum macam ni..
takde le macam setengah forumer klu org mintak tolong tanye camne nk wat itu wat ini diorang asyik2 jawab RTFM...klu teringin nk jawab sgt camtu jawab dalam hati dah le..tak pyh tulis kt sini RTFM
Reply

Use magic Report

 Author| Post time 18-11-2006 06:05 PM | Show all posts
Originally posted by shahnazz at 14-11-2006 09:26 AM
try gedek this web site

http://www.hotscripts.com

ada sample PHP code, gedek2 la kat situ
kalau ada masa i pinpoint kat mana utk file upload

kat sana berlambak code bukan saja utk PHP, ma ...


thanks shahnaz
i'll try to look through and apply to my project
anything i will ask again
really appreciate it
Reply

Use magic Report


ADVERTISEMENT


kayos_rayos This user has been deleted
Post time 29-12-2006 10:07 AM | Show all posts
erkk.. tenkiu bagi info...

Application Developer
ITBaseLogger
0123959774
Reply

Use magic Report

Post time 30-12-2006 12:22 AM | Show all posts
err.. utk ASP sama konsep ngan PHP ke? i.e. kena open (read mode), read as a variable, close, kemudian insert dlm db as blob...
Reply

Use magic Report

Post time 31-12-2006 01:14 PM | Show all posts
ASP tu Microsoft punya, Php tu Opensource ... kalau silap maaf.
Reply

Use magic Report

Post time 31-12-2006 11:39 PM | Show all posts

Reply #7 azharfcsit's post

what is " rtfm "??
Reply

Use magic Report

Post time 4-1-2007 04:01 PM | Show all posts
rtfm = "Read The F**k Manual" :D
Reply

Use magic Report

Post time 15-1-2007 12:47 AM | Show all posts
takyah guna blob tuuu beb, buat semak ko punya DB jek, baik ko simpan jea filename & location file tu dalam DB, dan gambar tuuu upload ke server...
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

28-1-2025 06:23 PM GMT+8 , Processed in 0.066719 second(s), 28 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list