Re: [sqlite] Passing parameters Python and CGI

2007-02-01 Thread Paul Issott
Think I managed to solve it using:- print '%s' % (row[0], row[1]) Paul Paul Issott wrote: Hi, I'm a newbie using sqlite 3 via Python 2.5, I've created a db using CREATE TABLE messages ( id INTEGER PRIMARY KEY, subjectTEXT ) Populated it with a few lines and one of the row of ro

Re: [sqlite] Passing parameters Python and CGI

2007-02-01 Thread P Kishor
On 2/1/07, Paul Issott <[EMAIL PROTECTED]> wrote: Hi, I'm a newbie using sqlite 3 via Python 2.5, I've created a db using CREATE TABLE messages ( id INTEGER PRIMARY KEY, subjectTEXT ) Populated it with a few lines and one of the row of rows is (1, u'News') after:- rows = curs.fetc

[sqlite] Passing parameters Python and CGI

2007-02-01 Thread Paul Issott
Hi, I'm a newbie using sqlite 3 via Python 2.5, I've created a db using CREATE TABLE messages ( id INTEGER PRIMARY KEY, subjectTEXT ) Populated it with a few lines and one of the row of rows is (1, u'News') after:- rows = curs.fetchall() How do I pass these parameters in a cgi s