Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: coffeepot!
Forum: PHP Mar 3rd, 2008
Replies: 15
Views: 3,115
Posted By coffeepot!
How about carrying the data over to a 5th page and if the data goes into the database give a nice happy message, if the data fails here, you can warn the user and send them back to the beginning.
Forum: PHP Mar 3rd, 2008
Replies: 7
Views: 632
Posted By coffeepot!
Hi, is the database throwing an exception? Does the code reach the closing table tag on line 40? Have you tried a record count to see if your row variable contains rows? try echoing the row count -...
Forum: PHP Feb 24th, 2008
Replies: 1
Views: 904
Posted By coffeepot!
Hi all,

Can anyone shed any light on this really simple problem please?

I need to read a list of files in a directory on a server. I am using PHP to do something like this...

$counter=0;
if...
Forum: PHP Feb 20th, 2008
Replies: 7
Views: 5,790
Posted By coffeepot!
Well I have to do this exact same operation. The only difference I can see, and this code below is tested and works fine, is the way i construct the HTML...

while($row=mysql_fetch_assoc($result)){...
Forum: PHP Feb 19th, 2008
Replies: 7
Views: 5,790
Posted By coffeepot!
All looks okay to me but you could try the following mysql_fetch_assoc($result) instead of array.
Forum: PHP Feb 19th, 2008
Replies: 11
Views: 4,822
Posted By coffeepot!
This is fascinating me!!! HELP! Everywhere I read 'store the name in the database and the file on the system' But I did find a piece of code that streams binary data in the form of binary files....
Forum: PHP Feb 18th, 2008
Replies: 11
Views: 4,822
Posted By coffeepot!
Hiya nav33n, yes fully understood, just a different way of doing things I guess. As I said, there are many ways of accomplishing the same job. The OP revealed a problem with retrieval of the image...
Forum: PHP Feb 18th, 2008
Replies: 11
Views: 4,822
Posted By coffeepot!
Way I see it is this - you need four parts to your code. For preference I'd put things like database connections and paths to file storage in constants that you can include wherever you need them....
Forum: Community Introductions Feb 17th, 2008
Replies: 3
Views: 432
Posted By coffeepot!
Hi folks, nice to meet y'all.
I'm in Lincolnshire, "the bit of England that sticks out in the North Sea" As a job I guess it is working with 'puters, like most of you's. I'm in Web/Dev with my own...
Forum: PHP Feb 17th, 2008
Replies: 11
Views: 4,822
Posted By coffeepot!
I have also done a bit with CMS which requires image storage on a LAMP system. Why not simply store the images in an image directory and refer to the image location in the database field. Okay it...
Forum: PHP Feb 17th, 2008
Replies: 6
Views: 1,296
Posted By coffeepot!
HI guys, I had a similar problem with exif data and needed a real quick fix. You can consider this, though there are many ways of killing shroedingers cat!
use the 'pathinfo()' function and extract...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC