Because you are telling the parser to compare a numeric variable against
something called "foo" which (in your context) has to be numerical too.
Since "foo" has not been given any value, the parser defaults it to 0. So
foo = 0. So is true that foo=$x=0.
Alex.
- Original Message -
From: "
Hi. I want to run a php script without leaving the php that calls that
script.
Let's say I have a script called mypage.php which displays html. There is a
link to link.php, which makes some database maintenance and has no output. I
want to be able to run link.php from mypage.php, but don't want t
Maybe a dumb question, but are you sure you have the fields id, songname and
artist in a table named rage in a database named rage?
The times I got that error was because a non-existent field or a
non-existent table.
Otherwise, everything looks ok.
Alex.
- Original Message -
From: "Ma
Just add this header
header ("Cache-Control: public");
Alex.
- Original Message -
From: "Lee P Reilly" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 11:26 PM
Subject: [PHP] browser back button - "Page has Expired.. " problem
> Hi,
>
> I wonder
That error is always a missing } somewhere...
:)
Alex.
- Original Message -
From: "Ben Turner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 5:55 AM
Subject: [PHP] Got a problem I cant figure out
Parse error: parse error in /var/www/docs/tacklebox/404handl
create table table_name
(
id int not null auto_increment,
primary key (id)
)
auto_increment = 1001
- Original Message -
From: "Steve Maroney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 6:59 AM
Subject: [PHP] Not PHP but MYSQL
>
>
> Sorry for the OT
Hi.
Let's suppose I have 3 users in my site, each of them generating their
respective session variables. Assuming I have a session variable named
$variable, I'll end up in the server with 3 values: $variable_1, $variable_2
and $variable_3.
My question is: is there a way I can change let's say th
Hi. I need to convert jpegs to wbmp. Unfortunately, the PHP build available
in my server wasn't compiled with the GD library, so I have no access to
JPEG2WBMP().
Is the source code of this function available somewhere? Or does anyone know
about a PHP class to make this task? At least an algorithm
That's because XYZ company isn't a valid email address and sendmail fixes
the address with the name of the server. If you'd put
[EMAIL PROTECTED], you'd see that address unchanged.
Alex.
- Original Message -
From: "Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December
I have a PHP script that receives a CSV text file and inserts it into a
MySQL database.
My problem is that this CSV file is made using the OEM character set and I
need it with the ANSI character set. The closest thing I've found is the
convert_cyr_string() function, but there isn't a code specific
Hi,
I am making a wap application and I am using PHP's session handler. I pass
different values between scripts and I end up with an url which seems to be
too long:
nextscript.php?var1=something&var2=else&PHPSESID=5345345345...whatever
As I have found out, some wap browsers simply crash if the
11 matches
Mail list logo