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
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
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:
&
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
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 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
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
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
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
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
>
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
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
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
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
>
> --
14 matches
Mail list logo