General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 14th, 2002, 04:44 PM
littleblackdog littleblackdog is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Anchorage
Posts: 118 littleblackdog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Question still having trouble

I am still having trouble, don't think its the uppercase since all the books I've seen don't always use the uppercase, though I could be wrong. Hate to learn from a book, but got no choice. This forum and others, plus the book are my only learning tool...wish we had classes on php in Alaska, but no dice.

I've made some changes to the code, still not able to retrieve the sender ID from the $sid column in mysql database or the image, just getting the first row of the table and the image name, example: picture.jpg instead of the actual image. I have all the cell types as varchar.

Any suggestions?
__________________
bow wow!

Reply With Quote
  #2  
Old April 14th, 2002, 04:45 PM
littleblackdog littleblackdog is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Anchorage
Posts: 118 littleblackdog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
This is in response to " problem with code, have a look" . : )

Reply With Quote
  #3  
Old April 14th, 2002, 09:57 PM
MTran MTran is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 9 MTran User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
so you've stored your image in the database in a varchar field? this wont work. the field needs to be a blob field, and you should use php's upload capabilities to fopen the file and put it into the database. where's your original question? cant find it.

Reply With Quote
  #4  
Old April 15th, 2002, 03:18 AM
littleblackdog littleblackdog is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Anchorage
Posts: 118 littleblackdog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Thanks for the reply. I thought it should be a blob...
The old post is in the PHP/c/c#/c-++ forum, titled " some trouble with php code, take a look...".

The jpgs are choices from an ecard page on " www.alaskancentral.com/php/ecardphoto.php " and it seems to work fine, the emails go to where they need to go but I know one problem is the database is not set to auto- increment, which I'll change, and the the db needs to have the image field type be "blob" but other than that, I can't call back the correct "sid".

The code is all in this forum, on an old thread from me, "littleblackdog".

Thanks for any help, I'm learnin' here.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > still having trouble


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap