Re: parse error creating table

2005-12-04 Thread Peter Brawley
Hi Ferindo >The intended effect is to get a timestamp field that inserts the current system >time on inserts and continues to update the field with the current timestamp >on updates without the application or use needing to specify it are you >saying that the timestamp attribute alone wil

Re: parse error creating table

2005-12-04 Thread Ferindo Middleton Jr
Thanks Peter. I did originally use this table in a Postgresql db. Thanks for you advice. Your suggestions below allowed me to create this table and I learned a thing t two about proper usage of the TIMESTAMP data type. The intended effect is to get a timestamp field that inserts the current sys

Re: parse error creating table

2005-12-04 Thread Peter Brawley
Ferindo One problem is: employment_status_id INTEGER REFERENCES employment_statuses(id) NOT NULL, NOT NULL should be before REFERENCES. Also, in: last_updated TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, (i) NOT NULL is superfluous since the default is given by CURRENT_TIMESTAMP. (ii)

parse error creating table

2005-12-04 Thread Ferindo Middleton Jr
I have been trying to create a table but mysql 5.0.15-nt-max is having a problem parsing the statement. Anyone know what the problem is in the syntax of the following table creation statement: CREATE TABLE registration_and_attendance ( idSERIAL NOT NU

RE: parse error near ???

2001-10-05 Thread Carsten H. Pedersen
gt; > mysql> select version(); > ERROR: parse error near '()' at line 1 > Version via mysqladmin shows: > mysqladmin Ver 5.3 Distrib 3.20.32a, for pc-linux-gnu on i686 > TCX Datakonsult AB, by Monty The function version() was added in MySQL v. 3.21.13, released on 29

parse error near ???

2001-10-05 Thread Christopher Jay Manders
version(); ERROR: parse error near '()' at line 1 mysql> select 'version'(); ERROR: parse error near '()' at line 1 mysql> select 'version()'; 1 rows in set (0.00 sec) +---+ | version() | +---+ | version() | +-------+ mysql> sele

Re: Going blind? Plz hlp w/ parse error

2001-09-19 Thread Jeremy Zawodny
On Thu, Sep 20, 2001 at 12:38:44AM -0400, Anthony Rodriguez wrote: > Please help! There is a parse error in line10: > > Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 3.23.41-max: up 14 days, processed 255,630,232 queries (210

Going blind? Plz hlp w/ parse error

2001-09-19 Thread Anthony Rodriguez
Please help! There is a parse error in line10: etc. Thank you! - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this

Re: Php/MySQL Parse Error

2001-07-10 Thread MikeBlezien
That's the way should be, never enter your database access info directly into any type of script, be it PHP or Perl or what ever, store it in a separate file, no accessible separate file, then have the related script(s) call up the variables thru the PHP's include, or Perl's 'require' or 'use' ..

Re: Php/MySQL Parse Error

2001-07-10 Thread Joe Taraba
database, does it need to be enclosed between double apostrophes inside the double quotes? I imagine, I'd eventually figure that out after some more trial and error--but hey, if you don't mind??? Joe > >>On Tue, 10 Jul 2001 17:33:10 -0700, Joe Taraba > <[EMAIL PROTECTED

RE: Php/MySQL Parse Error

2001-07-10 Thread Chris Bolt
> Group; > > There is something missing in my understanding of the php mysql_connect > statement because I am getting a parse error as follows: > > http://cxkop.com/Jobs/job_list.php > Parse error: parse error in > /home/virtual/cxkop1365/home/httpd/html/Jobs/job_list.p

Re: Php/MySQL Parse Error

2001-07-10 Thread MikeBlezien
e = "localhost"; >>On Tue, 10 Jul 2001 17:33:10 -0700, Joe Taraba <[EMAIL PROTECTED]> wrote: >>There is something missing in my understanding of the php mysql_connect >>statement because I am getting a parse error as follows: >> >>http://cxkop.co

Php/MySQL Parse Error

2001-07-10 Thread Joe Taraba
Group; There is something missing in my understanding of the php mysql_connect statement because I am getting a parse error as follows: http://cxkop.com/Jobs/job_list.php Parse error: parse error in /home/virtual/cxkop1365/home/httpd/html/Jobs/job_list.php on line 31 The database exists and

Re: parse error in config.inc.php3 on line 1 in phpMyAdmin

2001-06-08 Thread Zak Greant
> Barry C. Hawkins wrote: > >> Esteemed colleagues, > >> The php list is down, and I am sure someone knows what to do about > > this > >> in this list. The issue is that I receive the error > >> > >> Parse error: parse error in config.inc.php3 on l

Re: parse error in config.inc.php3 on line 1 in phpMyAdmin

2001-06-07 Thread Barry C. Hawkins
on 6/7/01 17:58, Zak Greant at [EMAIL PROTECTED] wrote: > Barry C. Hawkins wrote: >> Esteemed colleagues, >> The php list is down, and I am sure someone knows what to do about > this >> in this list. The issue is that I receive the error >> >> Parse erro

parse error in config.inc.php3 on line 1 in phpMyAdmin

2001-06-07 Thread Barry C. Hawkins
Esteemed colleagues, The php list is down, and I am sure someone knows what to do about this in this list. The issue is that I receive the error Parse error: parse error in config.inc.php3 on line 1 upon trying to access phpMyAdmin 2.1.0 from the web. MySQL 3.22.23 is on the same

Re: parse error in config.inc.php3 on line 1 in phpMyAdmin

2001-06-07 Thread Zak Greant
Barry C. Hawkins wrote: > Esteemed colleagues, > The php list is down, and I am sure someone knows what to do about this > in this list. The issue is that I receive the error > > Parse error: parse error in config.inc.php3 on line 1 > > upon trying to access phpMyAdm

Re: Parse error?

2001-05-16 Thread ???
In Addation, Print ("OK 3") line is also missed ':'. ^^ magic words sql database - Original Message - From: "MTF" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 12:13 PM Subject: Parse error? > I am new to M

RE: Parse error?

2001-05-16 Thread Unknown User
hat can't be helping > > > > > >magic words sql database >-Original Message- >From: MTF [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 16, 2001 2:13 PM >To: [EMAIL PROTECTED] >Subject: Parse error? > > >I am new to MySQL and am using Paul DuBo

RE: Parse error?

2001-05-16 Thread Robert Henkel
OTECTED]] Sent: Wednesday, May 16, 2001 2:13 PM To: [EMAIL PROTECTED] Subject: Parse error? I am new to MySQL and am using Paul DuBois's book to MySQL guide me. (Great Book!) I am attempting to use PHP, My scripts always connect to the MySQL server OK, and the Databases to, but my que

Parse error?

2001-05-16 Thread MTF
I am new to MySQL and am using Paul DuBois's book to MySQL guide me. (Great Book!) I am attempting to use PHP, My scripts always connect to the MySQL server OK, and the Databases to, but my queries always fail with the following message: OK 1 OK 2 Parse error: parse error in /home/httpd

RE: parse error

2001-03-26 Thread Leonard Coonan
Petra, You have a close '}' with no open '{'. Maybe you should move the If statement to the next line, then it won't be commented out. len. -Original Message- From: Petra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 27 March 2001 13:21 To: [EMAIL PROTEC

parse error

2001-03-26 Thread Petra
can anybody help? I get this error Parse error: parse error in mypath to file\Default.php on line 18 I am just learning right now so if you could help me with what I did wrong her I'd apreciate it. Thanx Petra [EMAIL PROT

parse error

2001-03-26 Thread Petra
can anybody help? I get this error Parse error: parse error in mypath to file\Default.php on line 18 I am just learning right now so if you could help me with what I did wrong her I'd apreciate it. Thanx Petra [EMAIL PROT