I'm not sure, if I understood, but try this:
array ("item"=>"car","price"=>1, "tax"=>0.06 ),
1 => array ("item"=>"pencil","price"=>1, "tax"=>0.06 ),
2 => array ("item"=>"book","price"=>14.95, "tax"=>0.065)
);
function GetTax($item){
return $item["price"]*$item["tax"];
}
func
-----Original Message-
> From: Bronislav Klucka [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2003 8:31 AM
> To: PHP Konference; Sara Daugherty
> Subject: RE: [PHP] fighting with functions
>
>
> I'm not sure, if I understood, but try this:
>
> $items = ar
-----Original Message-
> From: Bronislav Klucka [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2003 8:31 AM
> To: PHP Konference; Sara Daugherty
> Subject: RE: [PHP] fighting with functions
>
>
> I'm not sure, if I understood, but try this:
>
> $items = ar
looking at the same page) but
I find it not good, I was only asking if there is a "way to change it"
Bronislav Klucka
>
> > Is this some feature of sqlite or an I doing something wrong?
>
> Without seeing any code or being given any details, all I can make is an
> e
I've just realized I'm replaying to JeRRy only Could anybody fixt this
problem by setting the Reply To header correctly? to be able to reply PHP
conf. directly using Reply button?!!!
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Till admin fix it
Brona
> -Original Message-
> From: John Nichel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 29, 2003 6:18 AM
> To: PHP Konference
> Subject: Re: [PHP] DAMN
>
>
> Bronislav Klucka wrote:
>
> > I've just realized
Sorry, I realized it was wrong :(
> -Original Message-
> From: David T-G [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 29, 2003 6:09 AM
> To: PHP General list
> Cc: Bronislav Klucka
> Subject: Re: [PHP] DAMN
>
>
> Brona --
>
> You have started a
I'll shut up, I didn't realized there were some flame war, but somebody
should do:
1/ Fix this "Reply to" problem
(mail comes from PHP conference I suppose I should reply to this conference)
2/ Fix the problem with non existing users (or mailboxes, where cannot be
mail deliver to)
I'll really shut
nd that is why we are confused : because we know that this bug
has easy solution...
Brona
> -Original Message-
> From: - Edwin - [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 29, 2003 6:39 AM
> To: Bronislav Klucka
> Cc: PHP Konference
> Subject: Re: [PHP] D
Are u working in safe mode? What does the ini_set function return? did u try
ini_get then to see what is current value?
Brona
> Hi all,
>
> In my php.ini file, file_uploads value is set to OFF. Hence
> stopping HTTP_UPLOAD functionlaity.
>
> But in my script i am turning it On using
> ini_set("f
what does it mean?
> -Original Message-
> From: Gerard Samuel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 29, 2003 8:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] DAMN
>
>
> On Saturday 29 November 2003 12:54 am, Bronislav Klucka wrote:
> >
> I want to have a PHP website that feeds information
> off a mysql database. But generally changes occour
> and instead of asking users to refresh the page to get
> the updates is there a way to provide the updates
> without them needing to refresh the page?
>
> E.G. For like shooping Carts, Chat
't want these to
> refresh, just the text from the database.
>
> What you have said below seems exactly what I want.
> But I have never used DHTML. Could you show me a
> example of both frames (just the source) of how one
> talks to another please?
>
> Jerry
>
>
>
> Okay I see how that works. However I have a heap of
> mysql queries to do and only want the output from the
> database to show.
>
> > ele.innerHTML="";
>
> So is the section I need to change?
>
> Now I have 2 options, I can include the code in that
> file but it appears it don't like space
The temperature is $$temp
Brona
> -Original Message-
> From: Ian Truelsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 30, 2003 9:27 PM
> To: php
> Subject: [PHP] getting an variable value from an array entry
>
>
> I am trying to do the following:
>
> I have a text file to read i
Try to explain a little bit more how the arrays could be sorted asscending
and by hitting back and submitting form suddnely sorted descending...
Brona
>
> Does anyone know of a way to keep sort from reversing the array order?
> That is kinda fuzzy, let me explain.
>
> I have a couple arrays that
> >
> > Try to explain a little bit more how the arrays could be
> > sorted asscending and by hitting back and submitting form
> > suddnely sorted descending...
> >
> >
> > Brona
> >
> > >
> > > Does anyone know of a way to keep sort from reversing the
> > array order?
> > > That is kinda fuzzy, le
Hi,
I'm using Apache2 and PHP5 and mysql on WinXP and I have problem with
loading modules. When starting apache, error occures:
PHP startup: unable to load dynamic library 'c:\Program
files..\php_curl.dll' - Module was not find
PHP startup: unable to load dynamic library 'c:\Program
files..\php_m
Hi,
does anybody have PHP5.0.3-3 rpms files for RH9? I also need imap,
openssl, curl, etc. :)
I'm looking every day on internet, but I cannot find it.
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel wrote:
Bronislav Klucka wrote:
Hi,
does anybody have PHP5.0.3-3 rpms files for RH9? I also need imap,
openssl, curl, etc. :)
I'm looking every day on internet, but I cannot find it.
Brona
You can build the RPM from the source
rpmbuild -ta php-5.0.3xxx.tar.gz
It will put th
Hi,
can I install rpm for Fedora on RedHat9 server? I suppose those are
almost similar systems.
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm trying to compile php with imap ssl support, I've downloaded imap
source and run
make lnp SSLTYPE=unix
then i run php configure file with
as
./configure --with-imap=/usr/src/php5/imap/ --with-openssl
--with-imap-ssl=/usr/src/php5/imap/
configuration, make and make install worked but I t
Hi,
does anybody know how to write extension in FreePascal?
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Of course I want to write extension for PHP :)
but I want to write it in FPC...
Brona
Thomas Munz wrote:
Pascal??
this is a PHP list, you are on the wrong place!
on Thursday 21 September 2006 11:12, Bronislav Klucka wrote:
Hi,
does anybody know how to write extension in FreePascal?
Brona
Sorry for previous question, was not that clear at all
Does anybody know how to write PHP extension in FreePascal?
Thnx.
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Munz wrote:
PHP is written in C. If you want to write a extension, you have to writte it
in C. I dont think its possible, except you tranbslate the PHP C code to
Pascal and start from scratch there :)
So-> no, not possible
on Thursday 21 September 2006 11:22, Bronislav Klucka wrote:
Of cou
Hi,
I'm using 2 copies of PHP
1/ on local computer for developing
2/ on web server regular running webs
Is there any way to determine what PHP i'm using? "Where am I?". Can I
somehow define my own constant in php.ini?
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
.
On 28/03/06, *Bronislav Klucka* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
I'm using 2 copies of PHP
1/ on local computer for developing
2/ on web server regular running webs
Is there any way to determine what PHP i'm using? "Whe
Hi,
I'm using following construction to send http status code
--
header('HTTP/1.1 404 Not Found');
header("Status: 404 Not Found");
exit;
--
MSIE displays "Page not found", but FireFox and Opera don't display
anything. Just blank page with no text...
full headers sent b
Yes, I do...
B.
Anthony Ettinger wrote:
Are you seeing the IE-specific 404 page? The one that looks like this:
http://redvip.homelinux.net/varios/404-ie.jpg
On 3/30/06, Bronislav Klucka <[EMAIL PROTECTED]> wrote:
Hi,
I'm using following construction to send http
Every missing argument is set to current value, so now you have
mktime(0,0,0,2,30,2006), that is March, the 2nd.
Brona
Jay Blanchard wrote:
I'm having an weird issues with the date and mktime function thing
getting unexpected results, and I was wondering if y'all could help clue
me in as to wh
ut something. Strange, that. :P
Jasper
Anthony Ettinger wrote:
Then it's workingFireFox, et. al. show you the server 404, IE on
the otherhand has it's own 404 error page (for those newbies who don't
know what a 404 is). You can disable it under IE options.
On 3/30/06, Bronis
nctionality
I'm using PHP5.0.3 on windows, I cannot change it to PHP4, because whole
project is using PHP5 functions and object model... so does anybody
know, what might be wrong?
The strange thing is, that I already has PHP5.0.3 installed and
everything was working fine, I have to rein
33 matches
Mail list logo