Current location: Hot Scripts Forums » Programming Languages » PHP » How to upload image to sql table and resize it?

How to upload image to sql table and resize it?

 
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-02-09, 08:18 AM
tomming tomming is offline
Newbie Coder
 
Join Date: Jan 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
How to upload image to sql table and resize it?

Hello,I am here because I am very new about php.
First,I want to create a site to left people upload their photo,i want to know the basic how to upload photo to sql per user and resize it.I have a sql table which i get from website.


CREATE TABLE tbl_images (
id tinyint(3) unsigned NOT NULL auto_increment,
image blob NOT NULL,
PRIMARY KEY (id)
);

and dont forget to tell me how to retrieve image from the blob field
thank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto table resize derick_2k JavaScript 4 04-26-04 03:32 PM
Fixing table cell height - dynamically resize column widths? ijg0 CSS 2 04-19-04 12:34 PM
An image stretcher script please. roofle Script Requests 0 03-09-04 03:41 PM


All times are GMT -5. The time now is 07:21 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.