Forum: PHP Mar 3rd, 2008 |
| Replies: 15 Views: 3,115 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 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 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 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 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 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 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 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 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 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 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... |