> make sure you have register_globals on in php.ini or your next question
> will be 'why isn't $compteur set to the value posted?' Better would be to
> change the line to the new magic globals, and learn the right way from
> scratch:
I agree with you as far, as to learn the right way from scratc
> From: "Voisine" <[EMAIL PROTECTED]>
> Sent: Sunday, September 29, 2002 7:52 PM
> Subject: [PHP] Undefined constant error
> I'm learning PHP from a book "PHP for newbie writen in French" and I
> have an error on one of the exemple. Undifined co
There seems to be a print-error in this book. It's missing a '$'
This line:
> if (compteur == 1) {
should be:
> if ($compteur == 1) {
Sascha
Am Montag, 30. September 2002 01:52 schrieb Voisine:
> Hello,
>
> I'm learning PHP from a book "PHP for newbie writen in French" and I
> have an
Hello,
I'm learning PHP from a book "PHP for newbie writen in French" and I
have an error on one of the exemple. Undifined constant 'compteur' on
line 15 which is :
if (compteur == 1) {
What I'm doing wrong? This is the script
CatalogueQuel type d'animal
cherchez-vous ?\n";
echo "\n";
echo "";
4 matches
Mail list logo