Showing image

2001-07-06 Thread Dawn H
If I save the image name in the database, I can call it that way. BUT when the file is uploaded, it saves the whole path in the database (ie C:\Path1\Path2\filename.jpg). How do I break that up to make it save just "filename.jpg" and not the whole path? Thanks, Dawn http://www.rdcss.com/ - R&D

RE: MySQL with perl error

2001-07-03 Thread Dawn H
The error log says, Can't call method "do: on an undefined value. . . But the EXACT SAME code works on another script I'm running. I don't see any reason for it to suddenly have a problem. What does this error message MEAN? Code Snippet-- # Form was okay; get image type and cont

MySQL 'locking up'

2001-06-22 Thread Dawn H
what causes this and what we can do to keep it from happening in the future? It's not a good thing when our customers who use MySQL databases suddenly can't access them. Thanks, Dawn H http://www.rdcss.com/ - R&D Computer Solutions http://wow.cooncheese.com/ - WOW.

FW: FW: FW: HELP! functions don't work...

2001-06-17 Thread Dawn H
-Original Message- From: Les Roberts [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 9:06 PM Cc: Dawn H Subject: Fwd: FW: FW: HELP! functions don't work... first I apologize for the bad function name... I had changed it to several and left it at dayname() which, as you

FW: HELP! functions don't work...

2001-06-17 Thread Dawn H
-Original Message- From: Les Roberts [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: HELP! functions don't work... please pass along to anyone who might help... If you look at http://65.108.143.207/ you'll see I get the following error:

RE: Display error but continue script

2001-06-16 Thread Dawn H
Ah. The subroutine bail_out() that I'm using is using die. Aha! :-) Thanks, =Dawn -Original Message- From: Don Read [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 16, 2001 2:39 PM To: Dawn H Cc: MySQL Email List Subject: RE: Display error but continue script On 16-Jun-01 D

RE: Display error but continue script

2001-06-16 Thread Dawn H
I'm using Perl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of MikeBlezien Sent: Saturday, June 16, 2001 2:06 PM To: Dawn H Cc: [EMAIL PROTECTED] Subject: Re: Display error but continue script On Sat, 16 Jun 2001 13:47:29 -0500, "Dawn

Display error but continue script

2001-06-16 Thread Dawn H
How do I make an error display, but still continue the script? The error subroutine does not exit, but the original subroutine that calls it doesn't continue after the error message, it just quits. =Dawn H http://www.rdcss.com/ - R&D Computer Solutions http://wow.coonc

FW: Inserting without knowing . . .

2001-06-11 Thread Dawn H
Never mind, I got that part :-) Thanks anyway!! How do I make an error display, but still continue the script anyway? The subroutine does not exit, but the subroutine that calls it doesn't continue after the error message, it just quits. =Dawn H -Original Message- From: Dawn H [m

Inserting without knowing . . .

2001-06-11 Thread Dawn H
o the database? I have a limited number of room names, but some houses don't have some rooms, so the list won't be the same every time. I'm sure there must be an easy way to do this but I'm at a loss. Thanks in advance. =Dawn H ---CODE 1 print h3('Submit a Prop

RE: Using more than one table

2001-06-10 Thread Dawn H
>Ahh. 'it doesn't work.' >As in: it returns a error ? or doesn't display you what you want ? Both. I've fiddled with it doing this and that and haven't been able to get it to display correctly. >> BEGIN QUOTE- >> $sth=$dbh->prepare ("SELECT listing.id, pictures.thumb_1, description

RE: Using more than one table

2001-06-10 Thread Dawn H
enough. I'm a beginner at MySQL (and related stuff) so your suggestion of ODBC went totally over my head ;-) Thanks! =Dawn -Original Message- From: Ed Carp [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 10, 2001 5:32 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Using more t

Using more than one table

2001-06-10 Thread Dawn H
I have four tables, and I want to use bits of each one to display a list on one page. I tried listing what I wanted out of each, but it seems that if any one of the fields chosen is null, the whole row with that ID# is left out. I thought perhaps a LEFT JOIN but don't know how to make that work o

MySQL with perl

2001-06-05 Thread Dawn H
record will be submitted a second time. I suppose this is due to the fact that the subroutine that is called with the submit contains both the write to database bit and the view bit. So refreshing causes a repeat of both items. How can I do this without that problem? Thanks in advance, Dawn H I

RE: FW: FW: fascinating. bug

2001-05-31 Thread Dawn H
Hi, folks, The quote below - jonbad.txt is the 'view source' of a page in IE5.0. Just a minute later, after refreshing, the same person on the same browser got jongood.txt - without any changes being made to the page on the server. For some reason PHP is not doing right. Any ideas? A cookie prob

DELETE question

2001-05-02 Thread Dawn H
etting the number into the query in the wrong way? If so, what is the correct manner to achieve this? Thanks in advance for your help, Dawn H -CODE BELOW- sub delete { $num=param('delete'); $num=$dbh->quote($num); GET_LOCK("edit",10) or bail_out("Cannot get lo