Re: [PHP] Headers Again

2004-02-19 Thread PETCOL
OTECTED]> wrote in message news:[EMAIL PROTECTED] > PETCOL wrote: > > Stuart > > > > Thank you. > > Don't thank me[1], thank them. Preferably with cash[2]. > > [1] I will accept cash if offered. > [2] http://marc.theaimsgroup.com/?q=about#Begware > > --

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
nctions, or another file access function, and have spaces or empty lines that are output before header() is called. The same problem exists when using a single PHP/HTML file." Not hard is it? Regards, Michael Egan > -Original Message- > From: PETCOL [mailto:[EMAIL PROTECTE

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
Stuart Thank you. "Stuart" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PETCOL wrote: > > Alliare and Macromedias forums for ColdFusion and other software, allow a > > search through the entire post, archive everything. Which always avoid

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
owever, if some kind sole can save me 3 hours work, I'll also appreciate it, which is probably why this list get repetative posts. Cheers, relax, and have a nice day. Col "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday 17 February 2004 16

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
t it still works. Sorry I'm just frustrated. Regards Col "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday 17 February 2004 09:57, PETCOL wrote: > > > I have authenticated a user, after that I want to take them to another >

[PHP] Headers Again

2004-02-16 Thread PETCOL
Hi, I have authenticated a user, after that I want to take them to another page: Header("Location: welcome.php"); But I get the following error? error Cannot modify header information - headers already sent error Suggestions? Col -- PHP Genera

[PHP] Re:[SOLVED] PHP Newbie Database Records?

2004-02-15 Thread PETCOL
lt($result, 0, 0); > > or this: > > $result = mysql_query("SELECT uid FROM users WHERE username = '$username'") > > or die("Invalid query: " . mysql_error()); > > $num_rows = mysql_num_rows($result); > > i think the first one is b

[PHP] Re: PHP Newbie Database Records?

2004-02-15 Thread PETCOL
ing > > mysql_num_rows want a result resource as argument > You have no result till you do mysql_query > > > Read these please: > http://www.php.net/mysql > http://www.php.net/mysql_query > > > > Petcol wrote: > > PHP Newbie, > > > > I'm trying t

[PHP] PHP Newbie Database Records?

2004-02-15 Thread PETCOL
PHP Newbie, I'm trying to find out if a username already appears in my database. I have two users in my table, one is colin so when I enter a username of colin I would normally under ColdFusion anyway just to something like: User already exists do something else, like throw the user back an erro

[PHP] Re:[SOLVED] [PHP] Syntax

2004-02-14 Thread PETCOL
Thanks John, "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PETCOL wrote: > > > This line is whats causing me all the greif: > > echo " > value="$_POST["Country"];"selected>\n"$_

[PHP] Syntax

2004-02-13 Thread PETCOL
Hi People, PHP Newbie here again. trying to get HTML and PHP to work together really stumps me at times, I'm trying to output a selection from a form as so: Aruba \n"$_POST["Country"];"\n"; } else { echo "Australia\n"; } ?> Austria This line is w

[PHP] Re: [SOLVED][PHP] Browser Detection another page

2004-02-12 Thread PETCOL
Richard, Thanks for that, looks too simple ;-) It's exactly what I want for this particular application. Thanks Col "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello PETCOL, > > Friday, February 13, 2004, 12:57:59 AM, you wrote: &

[PHP] Browser Detection another page

2004-02-12 Thread PETCOL
PHP Newbie here, I have been able to work out how to detect the browser I'm looking for. Then I need to take the user to another page. Suggestions Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Thumbnail Page

2004-02-02 Thread PETCOL
I think I'm having a "Bad Hair Day" I have a table in my database with all my thumbnail filenames in it. My query pull that out, now I want to display the images in a table, I can get it to go down the page row by row, but I want it to say do five columns of different images and then go down the