I forgot to close a line with a semicolon.
this: $elements=count($para)
should be: $elements=count($para);
--
Crash
Committed to the search for intraterrestrial intelligence.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, May 22, 2006 7:11 am, n.g. wrote:
> flock() with LOCK_NB not work under ,
> nor does fopen() with 'x' mode,
> my php is compiled as an apache module, and apache is running in
> prefork mpm.
> php version is 5.1.2
>
> my code is
>
> $haslock=0;
> if($lock=fopen('LOCK','w')){
This would wor
flock() with LOCK_NB not work under ,
nor does fopen() with 'x' mode,
my php is compiled as an apache module, and apache is running in prefork mpm.
php version is 5.1.2
my code is
or
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Opps! I meant strftime() as I have to pass timestamp from a file.
Sparky
- Original Message -
From: "Adam Voigt" <[EMAIL PROTECTED]>
To: "Sparky Kopetzky" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 11:07
Subject: Re: [PHP] Date/Time problem
> ec
> if(isset($_POST['users'])
> {
> $_SESSION['temp_users'] = $_POST['users'];
> }
> if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t";
> ...etc
>
> hope it helps
> Pete
>
Will take a look at function.serialize too. Thank you guys
--
PHP General Mailing List (http://www.ph
the filename field is of type 'oid' rather than 'character varying'...
yep, inserting a string into an oid feild will make the db baarrrfff...
Saludos
Javier
_
Chat with friends online, try MSN Messenger: http://messenger.msn.co
ack.
ignore me.
not enough coffee.
the 'while' was in the wrong place.
also dropped the array() in favor of array_name[] to ensure I keep it
associative.
$array = mysql_fetch_array($result, MYSQL_ASSOC);
while (list ($key,$value) = each($array))
{
$key ="~" . $key;
$tagged_arr
Okay, I don't have it :)
This should be recreating a 3 row array of key:value pairs with a "~"
character prepended to each key, but is only echoing _one_ key:value pair -
anyone see why?
while($array = mysql_fetch_array($result, MYSQL_ASSOC))
{
list($key, $value) = each($array);
$key
Well I messed up... I forgot to add the final ";} at the bottom of my
sample code but here it is. sorry!
Gerry wrote:
>
> This worked!
> But, I get this color selection increment on each subsequent menu where
> the colors from the row above mix with the ones below and so on. Assume
> that the nu
Hello Dominick,
(DV == "Dominick Vansevenant") [EMAIL PROTECTED] writes:
DV> I deleted all the records from the privileges tables (mysql database) and
DV> restarted the daemon.
http://www.mysql.com/documentation/mysql/bychapter/manual_Problems.html#Resetting_permissions
DV> Now off course I
Do you still have r00t access to the database?
- Kath
- Original Message -
From: "Dominick Vansevenant" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 9:05 AM
Subject: [PHP] oops, little problem with mysql
Hello,
I deleted all the records from the privileges tables (mysql database) and
restarted the daemon.
Now off course I cannot access the databases, what can I do?
D.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
no particular errors or anything show up. page uses php & mysql
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
13 matches
Mail list logo