[PHP-DB] Re: [PHP] Temporary MySQL Tables

2002-03-21 Thread John S. Huggins
On Thu, 21 Mar 2002, Georgie Casey wrote: >-Hi, >- >-membership with the username and timestamp in the URL. The users clicks it, >-and I run a SQL command that copies the row from "tempmembers" into the >-"members" table. I assume you are building up all your fields as you move through the site.

[PHP-DB] Distributed Tables vs. fewer Monster Tables

2001-07-06 Thread John S. Huggins
I am putting the finishing touches on a forum program which has a direct lineage (look and feel at least) to Matt Wright's WWWBoard perl script. Remember that? Today I have one table per forum. The forums on my live test site are huge. http://www.astronomy.net/forums/ I have long dreamed of c

Re: [PHP-DB] front end for mysql for use on my website

2001-07-06 Thread John S. Huggins
Try phpMyAdmin. On Fri, 6 Jul 2001, Ed Peddycoart wrote: >-I am looking for a front end for mysql for use on my website. What I want >-is something that I can run, from the server (my webhost will not allow >-remote connections to the mysql server), that allows me to insert, delete, >-and modi

Re: [PHP-DB] TEXT fields without line breaks

2001-07-06 Thread John S. Huggins
The line breaks may be there, but HTML will not render them. Try this: $outputstring = nl2br($stringfromDB); print("$outputstring"); or something like this to see if the newlines will convert to and render correctly. John On Fri, 6 Jul 2001, Mat Marlow wrote: >-Hi all, >-(I'm not sure

Re: [PHP-DB] Handling Linefeeds in MySQL/PHP

2001-07-03 Thread John S. Huggins
Try nl2br() http://www.php.net/manual/en/function.nl2br.php On Tue, 3 Jul 2001, Bessette, Casey wrote: >-I am creating a content management page that uses a textarea box to enter a >-chunk of text which then is sent into the database into a text-type field. >- >-I am finding that when the d

Re: [PHP-DB] Re: adding Carrol O'Conner in a form

2001-07-02 Thread John S. Huggins
+-*-On Mon, 2 Jul 2001, Angela Meehan wrote: >-This is automatically done by something called MagicQuotes. You can >-turn this off in your installation of PHP. >- Yes, and if you do not have control over the server you can usually control this with the .htaccess file. To turn on... php_value

Re: [PHP-DB] adding Carrol O'Conner in a form

2001-07-02 Thread John S. Huggins
On Sat, 30 Jun 2001, Ken Sommers wrote: >-but how do I get rid of that pesky slash \ ? >- >-so I can echo exactly what the user typed in? >- Try: stripslashes() >-I am already using: >- >- >- >-Thanks for the help, >- >-ken >- ** John Huggins Virgini