[PHP-DB] auto-generating next id (in order) for an add script

2005-06-20 Thread tramelw
Hello, I have a site that allows reporters to enter their articles into a forum. I am then spilling their articles onto the main page from a MySQL dbase via a php script, read LATEST ARTICLES. I am now entering the data myself after they email it to me, however this is becoming more of a

Re: [PHP-DB] auto-generating next id (in order) for an add script. .

2005-06-20 Thread tramelw
Thanks Aman and guy from 'listmail.innovate.net'... I will change my primarykey ID colum to auto_increment. I am off to try your suggestions. Thanks again. -Original Message- From: Patel, Aman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php-db@lists.php.net Sent: Mon, 20 Jun 2005

Re: [PHP-DB] auto-generating next id (in order) for an add script

2005-06-20 Thread tramelw
Thanks Bastien, I am off to try the auto increment. I will post back if I cannot get it to work properly. Again, thanks everyone. -Original Message- From: Bastien Koert [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-db@lists.php.net Sent: Mon, 20 Jun 2005 13:30:13 -0400 Subject: RE:

[PHP-DB] select * from table where column 'CONTAINS' more than one value (how?)

2005-06-21 Thread Tramelw
Hello all, I have no problem creating a table, using a query from my dbase table news: SELECT * FROM table where column = VALUE. However, now that most of our articles have more than one column type (i.e. instead of just technology, the column can now contain technology, politics,

Re: [PHP-DB] RE: HTML Tables in PHP...

2005-09-25 Thread Tramelw
Hello Jusa, I was wondering. Your server URL is: C:\FoxServ\www\Dad\proofing\index.php Have you ever been able to get a php script to work on this particular server? This looks like an NT server, and while your web host may state that PHP functions properly on this server, I would show

[PHP-DB] Email Article, Print Article

2005-09-30 Thread Tramelw
Hello, I am running an article-based site, where I would like to add two buttons: print this article and email this article. Does anyone know where I could look to find out how to program this code into my article.php page? Thanks in advance, Eddie Wonder

Re: [PHP-DB] Email Article, Print Article

2005-09-30 Thread Tramelw
Thank you Bastian and Micah. I had no idea the concept was so straightforward. I guess I was close to making a mountain out of a molehill. Thanks again, E. Wonder