Jump to content
Sign in to follow this  
bash

Mysql : Leh Letak Gambar Ke

Recommended Posts

aku tak penah tau pulak. boleh ke kita simpan data berbentuk imej kat dlm mysql. kalau buleh, camna nak create field untuk imej tuh. pastu apa arahan untuk masukkan gambar dalam field tuh? ke kite cume leh buat link aje ek??? dry.gifdry.gifdry.gif

Share this post


Link to post
Share on other sites

yup the answer is boleh..

guna BLOB atau Binary Large OBject. kat MySQL tu ada.. check masa design field. ada long BLOB..

kalau nak tutorial leh check kat StarDeveloper

oklahh

Share this post


Link to post
Share on other sites

Beberapa webmaster berpendapat bahwa jika kita letakkan data imej ke database akan menambah loading time pada saat halaman website kita dieksekusi.

Another choice is to put a url link in database, but the image is stay intact (i.e not in database)

________________

free ebook download | free ebook mysql | free ebook php

Edited by veedee

Share this post


Link to post
Share on other sites

samelaa. simpan dlm bentuk binary...

nak cepat , save image dlm folder biasa je, buat upload style then, simpan image filename je dlm database, yg image tu uploadkan dlm folder biasa..

Share this post


Link to post
Share on other sites

samelaa. simpan dlm bentuk binary...

nak cepat , save image dlm folder biasa je, buat upload style then, simpan image filename je dlm database, yg image tu uploadkan dlm folder biasa..

tolong ajar camne nak wat..nak kena wat stored procedure ke guane eh

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...