Ben Miller wrote:
If anyone has an answer for this, I would be greatly appreciative.
I was trying to compare two values, the first is the total cost of products
to be refunded, and the second is the original order total. To the naked
eye, they both were coming out as 102.85, yet an if($Refund_A
On Thu, 2006-02-23 at 23:38 -0700, Ben Miller wrote:
> If anyone has an answer for this, I would be greatly appreciative.
>
> I was trying to compare two values, the first is the total cost of products
> to be refunded, and the second is the original order total. To the naked
> eye, they both wer
Anyony know a funtction to do this?
I need to popup a select with the dates.
thank's
Pol
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HoWang Wang wrote:
> Hi,
>
> How can I use it?
> For example:
> [lib='user32.dll'] int MessageBoxA(int handle, char *text, char
> *caption, int type);
> How can I write this sentence?
> What is the format?
> And I want to use GetComputerNameA, what can I do?
>
> $win32_idl = "[lib='user32.dll']
Okay, here is the error:
http://hwhome.hkto.net:808/apidie.jpg
I'm using CHT version of windows, but I think you should seen this
window before.
I've searched on google, but I find lots of ffi that != Foreign Function
Interface :(
I found this:
http://www.cweiske.de/download/phpgtk/pear/System_Wi
What does this do in a for loop?
$counter+=1
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 24 February 2006 10:34, William Stokes wrote:
> What does this do in a for loop?
>
> $counter+=1
Increments $counter.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It depicts
$counter = $counter+1;
William Stokes wrote:
What does this do in a for loop?
$counter+=1
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
William Stokes wrote:
What does this do in a for loop?
$counter+=1
it's shorthand for $counter = $counter + 1;
which in this case (because 1 is being added)
can also be written as:
$counter++;
or
++$counter;
those last 2 alternatives give the same result
but they are _not_ exactly equiva
There are variants of base64, which replace the + / characters with something
less likely to cause problems.
http://en.wikipedia.org/wiki/Base64
Jared
>
> sorry Ive done it again, for anyones interest, you might have
> to urlencode the string twice for mod_rewrite to accept
> encrypted an
Cheers!
"Jochem Maas" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> William Stokes wrote:
>> What does this do in a for loop?
>>
>> $counter+=1
>>
>
> it's shorthand for $counter = $counter + 1;
> which in this case (because 1 is being added)
> can also be written as:
>
> $counter++
Hi,
Thanks to David - his suggestion to comment out the php.ini sendmail_path
line and reverting to using Manuel's email class solved the problem.
Many thanks to all.
George
> -Original Message-
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]
> Sent: 23 February 2006 7:58 pm
> To: php-ge
Hello,
I have a datetime column in MySQL DB. How can I match to that column from
php code if I only have the date information available.
2006-02-24 12:00:00 against2006-02-24
This might be more SQL question sorry about that.
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
Yep. Nevermind...
(and back to sleep)
""William Stokes"" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Hello,
>
> I have a datetime column in MySQL DB. How can I match to that column from
> php code if I only have the date information available.
>
> 2006-02-24 12:00:00 against
If you are only avail with date-information then too you can use
existing DATETIME field as following query..
INSERT INTO `test` (`testingdate` ) VALUES ( '2006-06-06');
it will take care of itself.
Second way is you can change DATETIME field to VARCHAR (if you're not
going to use those dates
[EMAIL PROTECTED] wrote:
William Stokes wrote:
What does this do in a for loop?
$counter+=1
I read it as if he'd come across this:
for ($counter=0; $counter<$stopper; $counter+=1)
{
... lots of code ...
$counter+=1;
}
Which, I think, would increment the counter twice on each pass
thr
Recently I've not been able to compile PHP 5.1.2 on OS X 10.4 with gd
and freetype2 support. I've found various threads on this, but none
of the proposed fixes work. My configure line includes:
--with-gd=/sw --with-freetype-dir=/sw/lib/freetype2 --with-t1lib=/sw
It doesn't report any problem
Anyony know a funtction to do this?
I need to popup a select with the dates.
thank's
Pol
Pol:
Try this:
http://www.weberdev.com/get_example-4330.html
tedd
--
http://sperling.com
--
PHP General Mailing List (htt
How would I make a flatfile new systen with the ability for users to
comment on the news selection (no login required)?
~Nick Couloute
co-owner/Web Designer
Sidekick2Music.Com
Hi:
Perhaps this might help:
http://www.weberdev.com/get_example-420.html
tedd
--
--
I am not sure why this is not working. Aren't $_POST vars
superglobals? I am trying to pass the $_POST array as an argument to a
function and nothing is being returned. Any help is appreciated.
return global_template( 3, $_POST, count( $_POST ), $message );
function global_template( $cmd, $
Hi ALL
I am looking out for PHP Manual in PDF Format
Thanks in Advance
Regards
Kaushal
Try Google:
http://iwing.cpe.ku.ac.th/tutorial/PHP/PHPmanual.pdf
I'm sure there are others.
tedd
--
http://sperling.com
Tanoor Dieng wrote:
Hi,
are there some variables in your post array(aka are you sure that
$_POST is not empty)?
Normally this should works.
Tanoor.
2006/2/24, Jason Gerfen <[EMAIL PROTECTED]>:
I am not sure why this is not working. Aren't $_POST vars
superglobals? I am trying to pass th
Since $_POST is a superglobal, it should not lose scope inside a
function() call. I could be wrong though.
Also, curious if $args is empty.. what is $num and $message. ?
Also.. you're calling a function in your return statement ?
On 2/24/06, Jason Gerfen <[EMAIL PROTECTED]> wrote:
> Tanoor Dieng
Vidyut Luther wrote:
Since $_POST is a superglobal, it should not lose scope inside a
function() call. I could be wrong though.
Also, curious if $args is empty.. what is $num and $message. ?
Also.. you're calling a function in your return statement ?
On 2/24/06, Jason Gerfen <[EMAIL PROTECTED
I am not as familiar with php as I am c++ but I wonder if you need to
pass by reference? Does this make sense in the context of php?
One other thing I would try is setting $temp = $_Post and then passing
$temp.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Christopher Taylor wrote:
I am not as familiar with php as I am c++ but I wonder if you need to
pass by reference? Does this make sense in the context of php?
One other thing I would try is setting $temp = $_Post and then passing
$temp.
Chris
Yeah, I actually tried that as well.
--
Jaso
Why are you passing the POST array? As it's superglobal why not just work
directly on it within the function?
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Jason Gerfen [mai
just for fun, I tried to do what you're doing.
http://www.phpcult.com/jason.phps
http://www.phpcult.com/jason.php to run it..
it seems to be working.. the problem is in your code.. but not PHP properly..
On 2/24/06, Jason Gerfen <[EMAIL PROTECTED]> wrote:
> Christopher Taylor wrote:
>
> > I am
Don't know if it helps much, but maybe there's something buried in WinBinder
(http://www.winbinder.com) that could help. It's a much better (IMO) Windows
GUI for PHP than GTK is... and is windows specific so might have have w32/ffi
helper functions.
Good luck!
-TG
= = = Original message = =
Dan Parry wrote:
Why are you passing the POST array? As it's superglobal why not just work
directly on it within the function?
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
Fro
>
> Why are you passing the POST array? As it's superglobal why
> not just work directly on it within the function?
>
Passing it has distinct advantages, like being able to test the function.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Is the function actually returning anything? Aren't you just "echoing" the
content of the $_POST?
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:27 PM
To: PHP General (E-mail)
Subject: [PHP] $_POST to function?
I am not sure why this is
Do:
function global_template( $cmd, $args, $num, $message ) {
ob_start();
echo ""; print_r( $args ); echo "";
ob_end_flush();
return ob_get_contents();
}
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:27 PM
To: PHP General (E-m
Peter Lauri wrote:
Is the function actually returning anything? Aren't you just "echoing" the
content of the $_POST?
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:27 PM
To: PHP General (E-mail)
Subject: [PHP] $_POST to function?
I
William Stokes wrote:
Hello,
I have a datetime column in MySQL DB. How can I match to that column from
php code if I only have the date information available.
2006-02-24 12:00:00 against2006-02-24
This might be more SQL question sorry about that.
Thanks
-Will
use date_format("%Y-%m-
I have a datetime column in MySQL DB. How can I match to that column from
php code if I only have the date information available.
2006-02-24 12:00:00 against2006-02-24
This might be more SQL question sorry about that.
use date_format("%Y-%m-%d",'date_column') in the sql
http://dev.mysql.com
Peter Lauri wrote:
http://th.php.net/manual/en/function.return.php
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 25, 2006 12:29 AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] $_POST to function?
Peter Lauri wrote:
I am conducting a test of my new e-mail address. This is only a test. If
this were not a test you would be instructed to tune into your locale
emergency sarcasm system. Please RTFM and Have a PHP Day!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
[EMAIL PROTECTED] wrote:
I am conducting a test of my new e-mail address. This is only a test. If
this were not a test you would be instructed to tune into your locale
emergency sarcasm system. Please RTFM and Have a PHP Day!
Dork. ;)
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
D
Hi all,
I installed a opensource php project, and now is working fine for me.
Now that project has some 40-50 MySQL tables..
now I want to change something in that but the I am not able to get the DB
flow..
Is any body knows any tool by which we can create/make the relationship
diagram like we ar
ganu ullu wrote:
Hi all,
I installed a opensource php project, and now is working fine for me.
Now that project has some 40-50 MySQL tables..
now I want to change something in that but the I am not able to get the DB
flow..
Is any body knows any tool by which we can create/make the relationship
Hi I have the following problem:
I developed a system that it runs perfec in my PC and in hosting server with
Linux. But the session vars don't work in a hosting server with Windows...
The technical contact of the Server with Windows says me that the problem is
a space before the function sessio
Ask the open-source project for help. They will be able to answer your
questions better than we can.
On 2/25/06, ganu ullu <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I installed a opensource php project, and now is working fine for me.
> Now that project has some 40-50 MySQL tables..
>
> now I wan
Hi,
Saturday, February 25, 2006, 5:53:23 AM, you wrote:
gu> Hi all,
gu> I installed a opensource php project, and now is working fine for me.
gu> Now that project has some 40-50 MySQL tables..
gu> now I want to change something in that but the I am not able to get the DB
gu> flow..
gu> Is any bo
Does anyone know if its possible or how difficult it would be to have a user
send an email from outlook express to a websites mysql database and update
records.
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good.. you went straight into their vault to those PDF :)
tedd wrote:
Hi ALL
I am looking out for PHP Manual in PDF Format
Thanks in Advance
Regards
Kaushal
Try Google:
http://iwing.cpe.ku.ac.th/tutorial/PHP/PHPmanual.pdf
I'm sure there are others.
tedd
--
PHP General Mailing Lis
On 2/25/06, Mark <[EMAIL PROTECTED]> wrote:
> Does anyone know if its possible or how difficult it would be to have a user
> send an email from outlook express to a websites mysql database and update
> records.
You could write a script to parse the email and do the update. It
would come in on 'std
47 matches
Mail list logo