Out of range value adjusted for column ...

2008-02-17 Thread Amer Neely
sql=qq{INSERT INTO titles (Title,Director,Actor,Genre,Language,CaseNum,Year,Comment) VALUES ("$Title","$Director","$Actor","$Genre","$Language",$CaseNum,$Year,"$Notes")}; I'm stumped by the 'out of range' error. Anyone shed

mysqldump - new version = no data?

2008-01-17 Thread Amer Neely
d hopefully got a working solution? If this is going to keep happening every time the server gets updated then I (and lots of others I assume) will have to find an alternative way to let my client do backups. -- Amer Neely - Web Mechanic w: www.webmechanic.softouch.on.ca/ -- MySQL General Mail

Re: MySQL 5 & W2K - SOLVED

2007-06-08 Thread Amer Neely
f 'restarting' the service from control panel, I stopped, then started it. Voila! -- Amer Neely w: www.softouch.on.ca/ Perl | MySQL programming for all data entry forms. "Others make web sites. We make web sites work!" -- MySQL General Mailing List For list archives: http

Re: MySQL 5 & W2K

2007-06-08 Thread Amer Neely
ore. But now I'm trying to point it to a different data dir. In my.ini I have datadir="I:/mysql/data/" which I've also copied to c:\ When I try to restart the service from control panel, it throws an error: Error 1067. The process terminated unexpectedly. -- Amer Neely w

MySQL 5 & W2K

2007-06-08 Thread Amer Neely
this is a brand new drive. I have MyODBC Connector 3.51 installed. Is this a known problem, or am I missing something here. I've had earlier versions working just fine. -- Amer Neely w: www.softouch.on.ca/ Perl | MySQL programming for all data entry forms. "Others make web sites. We

Re: How to overwrite existing file with SELECT .. INTO?

2007-04-17 Thread Amer Neely
Paul DuBois wrote: At 10:14 AM -0400 4/13/07, Amer Neely wrote: I'm using MySQL 5.0.21 and am trying to find out if it is possible to overwrite an existing file when using a 'SELECT ... INTO' command from the command line. Is there another parameter that can do this? I've

Re: How to overwrite existing file with SELECT .. INTO?

2007-04-17 Thread Amer Neely
not a TABLE. Perhaps a better Subject should have been 'How to overwrite existing file with SELECT .. INTO OUTFILE'. I think I'll end up writing a Perl script to do this. On Mon, 16 Apr 2007, Amer Neely wrote: At 08:14 AM 4/13/2007, Amer Neely wrote: I'm using MySQL 5.0

Re: How to overwrite existing file with SELECT .. INTO?

2007-04-16 Thread Amer Neely
At 08:14 AM 4/13/2007, Amer Neely wrote: I'm using MySQL 5.0.21 and am trying to find out if it is possible to overwrite an existing file when using a 'SELECT ... INTO' command from the command line. Is there another parameter that can do this? I've looked through the onli

How to overwrite existing file with SELECT .. INTO?

2007-04-13 Thread Amer Neely
specific help there. -- Amer Neely w: www.softouch.on.ca/ Perl | MySQL programming for all data entry forms. "We make web sites work!" -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Temporary table lifespan - SOLVED

2007-02-17 Thread Amer Neely
this recursion happens multiple levels. Regards, Jerry Schwartz Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 -Original Message- From: Amer Neely [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:21 PM To: Daniel Kasak;

Re: Temporary table lifespan - SOLVED

2007-02-15 Thread Amer Neely
Amer Neely wrote: Daniel Kasak wrote: Amer Neely wrote: OK, that makes sense. As far as I know, my connection is still live - I don't do a disconnect anywhere. So I'm still not sure why I can't pull the data back out. I do get an error telling me about a problem with my

Re: Temporary table lifespan

2007-02-15 Thread Amer Neely
Daniel Kasak wrote: Amer Neely wrote: OK, that makes sense. As far as I know, my connection is still live - I don't do a disconnect anywhere. So I'm still not sure why I can't pull the data back out. I do get an error telling me about a problem with my statement near wh

Re: Temporary table lifespan

2007-02-15 Thread Amer Neely
Amer Neely wrote: Daniel Kasak wrote: Amer Neely wrote: I'm writing a perl script in which I need to save some session data. My first attempt is to use a temporary table to store some data. However, I'm a little unclear as to the lifespan of the temporary table. My understandi

Temporary table lifespan

2007-02-15 Thread Amer Neely
an idea whether this can even be done, or does calling another subroutine end the 'session', thus killing the table? -- Amer Neely w: www.softouch.on.ca/ b: www.softouch.on.ca/blog/ Perl | MySQL programming for all data entry forms. "We make web sites work!" -- MySQL

Re: Removing space characters ... char(160)? ... char(194)?

2007-02-13 Thread Amer Neely
er = replace( Service_Number, '" . $space_character . "', '' )"; it works! But the *exact* same Perl code running on a Linux client fails ( doesn't update the field anyway ). It defies logic. Who knows what's going on? -- Amer Neely w: ww

Re: MySQL 5.0 strange table creation 'func'

2006-05-12 Thread Amer Neely
a table description and no errors, I'd say it's OK to delete the func table in the client db. Is it in all client dbs or just that one? A mysqldump/import could have been editing and done wrongbut I haven't done an in-place upgrade, so I can't say for sure what the upgrade mi

MySQL 5.0 strange table creation 'func'

2006-05-11 Thread Amer Neely
s may have something to do with my recent upgrade to 5.0 but I don't see the purpose, especially as it only appears in one of my client databases. -- Amer Neely Home of Spam Catcher W: www.softouch.on.ca E: [EMAIL PROTECTED] Perl | MySQL | CGI programming for all data entry forms. &q

RE: MySQL 5 / phpMyAdmin - SOLVED

2006-05-10 Thread Amer Neely
Thanks to Ing. Edwin Cruz and George Law for pointing me in the right direction, as previous messages in this thread indicate. phpMyAdmin now working great with MySQL 5.0. Have a loot on this: http://dev.mysql.com/doc/refman/5.0/en/old-client.html try a search for "old_password"

MySQL 5 / phpMyAdmin

2006-05-10 Thread Amer Neely
th_type'] = 'config'; I'm not even sure this is a MySQL question, but if someone can provide a clue for me that would be great. -- Amer Neely Home of Spam Catcher W: www.softouch.on.ca E: [EMAIL PROTECTED] Perl | MySQL | CGI programming for all data entry forms. "We m

Re: How to find missing record?

2005-04-04 Thread Amer Neely
n 'Open' because 1694 divides evenly by 7, whereas 1693 doesn't. This should do it: SELECT Open.id, Open.day FROM Open LEFT JOIN Close ON Open.id=Close.id AND Open.day=Close.day WHERE Close.id IS NULL Regards, Jeremy Excellent! Thank you. I had tried a few left joins but none of th

How to find missing record?

2005-04-03 Thread Amer Neely
an extra entry in 'Open' because 1694 divides evenly by 7, whereas 1693 doesn't. -- Amer Neely, Softouch Information Services -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: newbie: relationships between fields

2004-11-16 Thread Amer Neely
201-69471-9. 'MySQL' by Paul DuBois will also give you a good start to RDBMS concepts and design. - -- /* All outgoing email scanned by AVG Antivirus */ Amer Neely, Softouch Information Services Home of Spam Catcher & North Bay Information Technology Networking Group W: www.s

Re: rounding problem

2004-10-26 Thread Amer Neely
algorithm is: // 1) Divide num by what (the base we want to round to. ie .01 for hundredths, 10 for tens) // 2) Add .5 to num // 3) Truncate the result (keep the integer part) // 4) Multiply the result by num - -- /* All outgoing email scanned by AVG Antivirus */ Amer Neely

Re: Importing Excel Data in MySql

2004-10-21 Thread Amer Neely
a tab delimited file? You should be able to then import that into MySQL. Or if not, replace the tabs with pipes? - -- /* All outgoing email scanned by AVG Antivirus */ Amer Neely, Softouch Information Services Home of Spam Catcher & North Bay Information Technology Networking Group W: www.

Re: From .txt to MySQL

2004-10-19 Thread Amer Neely
e the 'load data local' MySQL construct to populate your weather table. - -- /* All outgoing email scanned by AVG Antivirus */ Amer Neely, Softouch Information Services Home of Spam Catcher & North Bay Information Technology Networking Group W: www.softouch.on.ca E: [EMAIL PROTECTED]

Re: 1 database; 2 scripts; different results

2004-09-06 Thread Amer Neely
Michael Stassen wrote: Amer Neely wrote: Both scripts, which reside in the same directory on the server, are run through the web browser. And they do access the same database, and the same tables. So, same web server, same mysql server, same connection settings. Good. Does phpmyadmin connect

Re: 1 database; 2 scripts; different results

2004-09-06 Thread Amer Neely
Michael Stassen wrote: Amer Neely wrote: Both scripts, which reside in the same directory on the server, are run through the web browser. And they do access the same database, and the same tables. So, same web server, same mysql server, same connection settings. Good. Does phpmyadmin connect

Re: 1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
Michael Stassen wrote: Amer Neely wrote: OK, obviously a bit more background seems to be in order. My site is hosted but I am not the administrator. I have 2 perl scripts, behaving as already described. I also have phpMyAdmin access to my databases. I don't have command line access t

Re: 1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
Michael Stassen wrote: Amer Neely wrote: Amer Neely wrote: Brian Reichert wrote: On Sat, Sep 04, 2004 at 02:40:20PM -0400, Amer Neely wrote: My question is, in my admin script I deleted a record, but it still shows up using the other script. The admin script shows 102 records and the other

Re: 1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
Michael Stassen wrote: Amer Neely wrote: Amer Neely wrote: Brian Reichert wrote: On Sat, Sep 04, 2004 at 02:40:20PM -0400, Amer Neely wrote: My question is, in my admin script I deleted a record, but it still shows up using the other script. The admin script shows 102 records and the other

Re: 1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
Amer Neely wrote: Brian Reichert wrote: On Sat, Sep 04, 2004 at 02:40:20PM -0400, Amer Neely wrote: My question is, in my admin script I deleted a record, but it still shows up using the other script. The admin script shows 102 records and the other shows 103. The record does show up in the

Re: 1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
Brian Reichert wrote: On Sat, Sep 04, 2004 at 02:40:20PM -0400, Amer Neely wrote: My question is, in my admin script I deleted a record, but it still shows up using the other script. The admin script shows 102 records and the other shows 103. The record does show up in the 'public'

Re: 1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
Brian Reichert wrote: On Sat, Sep 04, 2004 at 02:40:20PM -0400, Amer Neely wrote: My question is, in my admin script I deleted a record, but it still shows up using the other script. The admin script shows 102 records and the other shows 103. The record does show up in the 'public'

1 database; 2 scripts; different results

2004-09-04 Thread Amer Neely
make sense. Can someone shed some light on what might be happening here? MySQL 4.0.20a for Win32 -- /* All outgoing email scanned by AVG Antivirus */ Amer Neely, Softouch Information Services Home of Spam Catcher & North Bay Information Technology Networking Group W: www.softouch.on.ca E: [EMAI

Odd behaviour of server / script?

2004-06-17 Thread Amer Neely
_Members,Member_WebSkills,Web_Skills WHERE Member_WebSkills.MemberID=NBIT_Members.MemID AND Member_WebSkills.SkillID = $ThisSkillID2 OR Member_WebSkills.SkillID = 0 AND Visible='Y' GROUP BY Lastname }); -- /* All outgoing email scanned by AVG Antivirus /* Amer Neely, Softouch Information Servi

Re: Remote access FROM a secure server

2004-01-01 Thread Amer Neely
ide a secure facility so I haven't messed with SSL for mysql, so for instance it may use a different port number etc. Just my 2 cents worth... Larry -Original Message----- From: Amer Neely [mailto:[EMAIL PROTECTED] Sent: Thursday, January 01, 2004 2:07 PM To: MySQL Subject: Remote access FRO

Remote access FROM a secure server

2004-01-01 Thread Amer Neely
please? -- All outgoing email scanned by AVG Antivirus Amer Neely, Softouch Information Services | Home of Spam Catcher & Research Central. W: www.softouch.on.ca E: [EMAIL PROTECTED] Perl | PHP | MySQL | CGI programming for all data entry forms. "We make web sites work!" -- MySQL

Re: PHP or Perl?

2003-08-16 Thread Amer Neely
ed can be installed locally and there is just so much more available, being a more mature language. As far as accessing MySQL I don't see any advantage to using PHP over Perl - all the same features are available. One thing I don't like about PHP is having my form variables named af

Re: Select match from a stored delimitated string?

2003-08-14 Thread Amer Neely
1-9). Any time you have more than one value in a field is an idication you should consider making that field a separate table. In your case I'd make a new table of 'pieces' and populate it with something that identifies which client AND project each piece belongs to. Maybe a

Re: MySQL field data type for ISBN numbers

2003-08-14 Thread Amer Neely
]) + (2 * a[9]) Reduce the sum modulu 11 to obtain integer b (>=1 b <=11) The check digit is 11 - b This is an error-detecting algorithm - it won't tell you where the error is, only that there is one. -- /* All outgoing email scanned by AVG Antivirus /* Amer Neely, Softouch Informatio

Re: Message

2003-08-06 Thread Amer Neely
;>>$0-err.txt"); print STDERR "\n",scalar localtime,"\n"; } It prints the error file to $0 (the name of the current script) -err.txt in the same directory as the script, so you don't have to chase it down in the web server log files. Comment it out whe

RE: Recursion

2003-02-12 Thread Amer Neely
mailto:[EMAIL PROTECTED] > > +27 21 447 7440 > > Jam Warehouse RSA > > Smart Business Innovation > > http://www.jamwarehouse.com > > ** Yes, excellent idea. It's the classic 'linked list' from my old Pascal days. While playi

Re: let users create as much DB as they want ?

2003-01-12 Thread Amer Neely
, just by setting up and using appropriate tables. Is there some reason why this can't be done in your case? Getting disk space is easy with phpmyadmin, or just do a 'du'. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.so

Re: sarnia - problem one solved

2002-11-30 Thread Amer Neely
In my previous posting, I misspelled a name: Paul Dubois should be Paul DuBois. Sorry about that - I should know by now. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887 Perl | PHP

Re: sarnia - problem one solved

2002-11-30 Thread Amer Neely
ialambton.org Contacts (these only describe contacts) ID: SAR0260 ContactEmail: [EMAIL PROTECTED] OrgName1: Ray Beggs OrgName1Position: Chairman Blank8: Blank9: OrgName2: Norm Lamoureux OrgName2Position: Database Manager OrgName3: Sue Wright OrgName3Position: Secretary (* note that I broke this

Re: hello to new guy

2002-11-26 Thread Amer Neely
ing? Why not ask your ISP whether MySQL is installed, and if so, use that? You will need a 'front-end' to access the database once built, written in PHP or Perl - dead easy. You can even install MySQL at home and then use PHPMyAdmin to update the web server. -- /* All outgoing email scan

Re: Getting Fields from a sql table

2002-10-08 Thread Amer Neely
yourself between each piece of the string. This isn't really a MySQL question, but a perlish one. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887 Perl | PHP | MySQL | CGI programmin

Re: Perl with Mysql

2002-10-03 Thread Amer Neely
t;fetchrow_array(); return $age; } You have to pass this subroutine 2 arguments when you execute it: $dbh and $id before it will work. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887

Re: Q: How to determine size(s) of db files?

2002-09-12 Thread Amer Neely
of the table? That's about right, since after installing phpMyAdmin, it gives me about the same number. Thanks! -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887 Perl | PHP | My

Re: Q: How to determine size(s) of db files? - Resolved

2002-09-11 Thread Amer Neely
Eric Lamendola wrote: > > If you are using PHP, > > Then download phpMyAdmin from the website of the same name. It is the best > PHP/Web based utility for connecting to a MySQL database. > > At 12:48 PM 9/11/02 -0400, Amer Neely wrote: > >Is there a MySQL command

Q: How to determine size(s) of db files?

2002-09-11 Thread Amer Neely
ory on the server, I have to ask my ISP to do a 'du' for me. I maintain several databases for clients with my ISP, and since I'm paying for disk space, I'd like to be able to pass that cost on to my clients. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, S

Re: NEWBIE: normalization question/help/lost :)

2002-09-08 Thread Amer Neely
Michael J. Hernandez ISBN: 0-201-69471-9 or 'Data & Databases: Concepts in Practice' by Joe Celko ISBN: 1-55860-432-4 They have both added much to my understandinf of RDBMs and information management. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Sof

Re: JOIN?

2002-09-03 Thread Amer Neely
e wondering why I set the Sequence field as a decimal, it's the only way I could think of to deal with releases containing more than 1 CD. So, CD1 sequences look like 1.01, 1.02 ... 1.10 and CD2 sequences look like 2.01, 2.02, ... 2.13 and so on. -- /* All outgoing email scanned by Norton Antivirus

Re: job database with invoicing

2002-08-28 Thread Amer Neely
1 | 1 | A| |705 | 1 | 1 | A| |709 | 1 | 1 | A| ++++--+ 4 rows in set (0.05 sec) That should get you on your way. -- /*

Re: New To MySql

2002-08-03 Thread Amer Neely
x27;s referring to the client - remember there are 2 things going on. First you have to start the server (mysqld for example), then you need to start a client (mysql) to access the server. -- Amer Neely, Softouch Information Services Per

Re: query - primary key

2002-05-20 Thread Amer Neely
: LOAD DATA LOCAL INFILE "yourfile.txt" INTO TABLE LevelOne FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n' This mixup will cause the duplicate key error as well I believe, since the line pointer is not moving forward in your file. -- /* All outgoing email scanned b

Re: AUTO_INCREMENT= ? - solved

2002-05-13 Thread Amer Neely
ardless that I had set it at 1000. -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887 Perl | PHP | MySQL | CGI programming for shopping carts, data entry forms

Re: AUTO_INCREMENT= ?

2002-05-13 Thread Amer Neely
Paul DuBois wrote: > > At 17:53 -0400 5/13/02, Amer Neely wrote: > >Paul DuBois wrote: > > > >> >> AN> The values I'm inserting for > >> >> >> AN> UserID are all 'null' (without quotes). >

Re: AUTO_INCREMENT= ?

2002-05-13 Thread Amer Neely
Paul DuBois wrote: > > At 17:41 -0400 5/13/02, Amer Neely wrote: > >Paul DuBois wrote: > >> > >> At 15:23 -0400 5/13/02, Amer Neely wrote: > >> > > Amer, > >> >> Monday, May 13, 2002, 2:03:28 AM, you wrote: > >> >>

Re: AUTO_INCREMENT= ?

2002-05-13 Thread Amer Neely
Curtis Maurand wrote: > > How about: > > UserID SMALLINT UNSIGNED AUTO_INCREMENT NULL PRIMARY KEY DEFAULT 1000 > > Curtis > Good suggestion. But it too returns 1..7 when I do a 'select userid from respondents'. > Amer Neely said: > >> Amer, >

Re: AUTO_INCREMENT= ?

2002-05-13 Thread Amer Neely
Paul DuBois wrote: > > At 15:23 -0400 5/13/02, Amer Neely wrote: > > > Amer, > >> Monday, May 13, 2002, 2:03:28 AM, you wrote: > >> > >> AN> Win/98 > >> AN> MySQL 3.23.46 > >> > >> AN> I'm trying to use AUTO

Re: AUTO_INCREMENT= ?

2002-05-13 Thread Amer Neely
'dummy' record starting at 1000, I want MySQL to do that, like it says in "MySQL" by Paul DuBois [p.94, chap.2.]. Again, this works in interactive mode, but NOT in batch mode. Can you or someone explain how this can be done in batch mode? > AN> The values I'

AUTO_INCREMENT= ?

2002-05-12 Thread Amer Neely
o errors, but when I populate the table with values (also from a file), the values for UserID start at 1, not 1000. The values I'm inserting for UserID are all 'null' (without quotes). -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services

Re: Perl-Mysql manual (.chm version)

2002-05-10 Thread Amer Neely
quot;MySQL and Perl for the Web" by John Dubois is excellent. New Riders ISBN:0-7357-1054-6 -- /* All outgoing email scanned by Norton Antivirus 2002 */ Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887 Perl | PHP | MySQL | CGI programming fo

Re: problem in cgi-perl using queries

2002-03-18 Thread Amer Neely
gt;finish; > $dbh->disconnect; > > > print < > > EoB > * > > Thank you > Aman With Perl you have a few options when it comes to quoting strings. You can 'escape' a set of quotes as a wrapper. ( \"$for

Re: Better solution?

2002-02-13 Thread Amer Neely
books order by publisher"); $result=mysql_query($query); if (!$result) die ("Query 164 failed."); # you can of course do whatever you like here for ($i=0; $i <= $PubCount; $i++) { while ($records=mysql_fetch_array($result)) {

Re: Quick SQL design help

2002-02-12 Thread Amer Neely
e above the LIKE statement > would be: WHERE category LIKE '%|4|%' AND LIKE '%|7|%'). > One thing you could do is add a little programming to split the entry into its parts, once retrieved, then run your select on those. But a better solution would be to re-design your

Re: Another question - Re: Quick SQL design help

2002-02-11 Thread Amer Neely
;SELECT Artist FROM Artists WHERE Artist LIKE \"%$InArtist%\" "); $result=mysql_query($query); if (!$result) { die ("query failed."); } $ArtistCount=mysql_num_rows($result); H

Re: Quick SQL design help

2002-02-10 Thread Amer Neely
e above the LIKE statement > would be: WHERE category LIKE '%|4|%' AND LIKE '%|7|%'). > One thing you could do is add a little programming to split the entry into its parts, once retrieved, then run your select on those. But a better solution would be to re-design your

RE: alter table example.

2002-01-10 Thread Amer Neely
y. Are these your actually working statements, or just typos. Please use cut/paste if you are giving code to someone to check for you. -- Amer Neely [EMAIL PROTECTED] Softouch Information Services: www.softouch.on.ca/ Perl / PHP / MySQL / CGI programming for shopping carts, data entry form

Re: Time Weirdness

2001-12-24 Thread Amer Neely
> Is this a bug in MySQL 3.23.37? Could it have something to do with my OS > (OpenBSD 2.9)? Or am I doing something wrong with the statement "update > time_worked set total = start - finish;"? Umm. Don't you mean 'finish-start'? -- Amer Neely [EMAIL PROTEC

Re: how do I abort a slow command?

2001-12-24 Thread Amer Neely
t of doing, to kill slow UNIX and DOS programs), that > terminates the MySQL prompt entirely and I have to log back in. > > -Bennett > > [EMAIL PROTECTED] http://www.peacefire.org > (425) 649 9024 > Use '\c' to clear / cancel the last command. Did you not c

Re: Perl Problem!

2001-12-24 Thread Amer Neely
s are going to be variables, try something like: $last=$dbh->quote("Beck"); $first=$dbh->quote("Jeff"); $query=qq{insert members (last_name,first_name) values ($last,$first); $result=mysql_query($query); Another trick I use for debugging is to put the following at the

Can't save queries to file

2001-12-17 Thread Amer Neely
pache and MySQL servers and it still breaks every time I try to save query output to a file. Anyone have any ideas why? -- Amer Neely [EMAIL PROTECTED] Softouch Information Services: www.softouch.on.ca/ Perl / PHP / CGI programming for shopping carts, data entry forms. "We make web

Re: Load srtatement

2001-12-16 Thread Amer Neely
are stored) > But keep getting the error. I'm using the same arrangement and found I had to put my data files under my cgi-bin directory. But when I upload the code to my ISP, they can be stored in the same directory as the script. This tells me it is likely a configuration

Re: mysql rounding problem

2001-12-11 Thread Amer Neely
ample: To round -758.437 to nearest 1/100th 1) -758.437 / 1/100 = -75843.7 2) -75843.7 - .5 = -75844.2 3) int(-75844.2) = -75844 4) -75844 * 1/100 = -758.44 -- Amer Neely [EMAIL PROTECTED] Softouch Information Services: www.softouch.on.ca/ Perl / PHP / CGI programming for shopping carts, data entry form

Re: Netscape not rendering correctly

2001-11-27 Thread Amer Neely
u wish, or have HTML > validator to validate it for you (available at w3c.org) > > Good luck > > -- > sherzodR > > On Mon, 26 Nov 2001, Amer Neely wrote: > > >I've read with interest the posts on Netscape not rendering HTML > >correctly. I can add

Netscape not rendering correctly

2001-11-26 Thread Amer Neely
y) it will stop partway through the HTML. An earlier post mentioned the possibility of the code having NUL characters in the HTML stream. I'll try to check into that and post the results. If someone can shed more light on this I know a lot of people would appreciate it. Thanks in advance. -