for this is !
in a loop
and want individual
$ned_1_city = blah
$ned_2_city = blur
I've been trying this but its wrong
$ned_.$i._city = $ned_city ;
thanks
john
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net
advice,
well... put $i = 1; outside your loop...?
$i = 1;
foreach ($months) {
// do some things
$i++;
}
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-2064
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can someone explain why this works?
$x = 0;
if ($x == foo) {
print yeah;
}
This prints 'yeah', but i can't figure out why...
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
something like
$table_row_array[0 [1]]; (the second value from the array that is the first
of $table_row_array)
$table_row_array[0][1];
I know this isnt the syntax
Thanks in advance
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List
in the same place as the
userid (after the /), eg.:
user(1234)/group(4323)
or
user(1234)/4323
Maybe this helps you out a little further...
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Wed, 13 Mar 2002, Jan Rademaker wrote:
On Tue, 12 Mar 2002, Don wrote:
I did. That's why I'm confused. phpinfo() is telling me that the user is
myself (I don't see the group). So what is the permission difference
between running PHP and logging on to the server via telnet
in advance
Balaji
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=
mysql_fetch_row($result) use
if (strtotime($row[DATETIME1]) strtotime($row[DATETIME2])) {
...
}
or whatever you desire...
Balaji
-Original Message-
From: Jan Rademaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 6:40 PM
To: Balaji Ankem
Cc: Php-General
On Tue, 12 Mar 2002, Jason Lotito wrote:
Why not compare them in the SQL Query itself?
That could work just as well, depending in what you want to do with the
data.
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net
email!
http://mail.yahoo.com/
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or something like that
use error_reporting() (see manual) to suppres warnings. to give back an
error use something like;
if (!isset($dir) || !isset($res)) {
print Access Denied;
exit;
}
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing
On Tue, 12 Mar 2002, Gonzalez, Zara E wrote:
On second look, perhaps it is working correctly.
I wasn't incrementing my counter variable. Sorry to flood your mailboxes.
Zara
this should work as well;
foreach($_REQUEST as $key = $val) {
$_SESSION[$key] = $val;
}
--
Jan
/font/bfont
face=Times New Roman size=2
/fontfont face=Times New Roman size=4b
a href=?php echo $PHP_SELF??page=questionsfont
color=#CCQuestions/font/a/b/fontfont face=Times New Roman
size=2BR
Insert questions here./fontPb
?php
}
?
--
Jan Rademaker [EMAIL PROTECTED
user is PHP run under that allows me to access another
user's file (but the same group)?
Thanks,
Don
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 11 Mar 2002, Vlad Kulchitski wrote:
The question is how reliable the session is? In other words
I understand session works based on cookies right? So if the client
browser has cookies disabled the session is not going to work
right?
Not per se, cookies is one way of using
16 matches
Mail list logo