[PHP] question on getting URL

2005-01-30 Thread David Banning
I have a script called index.php on my main page and it actually is used to launch several webpages like so; http://mysite.com/index.php?id=16 When http://mysite.com runs it still uses index.php. but it doesn't show it in the address bar. All it shows is; http://mysite.com What I would like to

[PHP] redirect using header

2003-03-27 Thread David Banning
I have been trying to do a redirect with header; HTML HEAD TITLEOptex Staging and Services Inc. /TITLE /HEAD BODY ?php header('http://newwebpage.com'); ? H3 FONT COLOR=#FFStand By For Terminal.../FONT/H3 /BODY /HTML I keep getting the error; Warning: Cannot modify header information -

[PHP] question on text file reading.

2003-02-26 Thread David Banning
The company I am working with is using an old database, which doesn't even support memo field beyond 256 characters, so it is probably too difficult, and not worth trying to interface the database with php. I was wondering how easy it would be to have php access the database via SQL. The data we

Re: [PHP] question on text file reading.

2003-02-26 Thread David Banning
On Wed, Feb 26, 2003 at 08:58:43AM -0800, Chris Shiflett wrote: --- David Banning [EMAIL PROTECTED] wrote: The company I am working with is using an old database, which doesn't even support memo field beyond 256 characters, so it is probably too difficult, and not worth trying to interface

[PHP] mysql string comparison not working

2002-09-03 Thread David Banning
if I set test = Y; then if ($test == Y) {echo (it matches);} seems to work while if ($row[24] == Y) {echo (it matches);} does not. The row[24] mysql variable is char type and 1 char long. any idea why it is not doing the comparison? -- PHP General Mailing List (http://www.php.net/) To

[PHP] mysql auto increment question

2001-01-24 Thread David Banning
I am working with php-mysql and am inserting into mysql using a NULL value, which allows mysql to auto-insert (increment) a number - how could I find out what the value was mysql inserted, say on the next line of code after the insert? -- PHP General Mailing List (http://www.php.net/) To