[PHP] Best way how to STORE DATA

2005-06-09 Thread Martin Zvarik
Hi,
 what's the best way how to store a small amount of data, like list of 
categories or sections of a website.
 CVS (comma delimited text) x Database (MySQL, or other) x XML ?
 Which method is the fastest? Anyone has any personal experiences?
   Thank you in advance for replies.
 Martin Zvarik


[PHP] Re: .INC files

2005-06-01 Thread Martin Zvarik
Sorry I didnt know the post delay is that LONG...


 On 5/31/05, Jason Barnett <[EMAIL PROTECTED]> wrote: 
> 
> Martin Zvarik wrote:
> > Hi,
> > I saw files like "file.inc.php" and "file.inc"
> >
> > What is the *.inc suffix good for ?
> >
> > Thank you for replies.
> >
> > Martin
> 
> STOP SPAMMING THE LIST!
> 
> .inc is just a shorthand for include files and it's just a different way
> of organizing code
>


[PHP] TEST

2005-05-31 Thread Martin Zvarik
test dammit, doesnt work


[PHP] [Files suffix] .inc.php files

2005-05-31 Thread Martin Zvarik
Hi,

I saw files like "file.inc.php" and "file.inc"

What is the *.inc suffix good for ?

Thank you for replies.

Martin


[PHP] .INC files

2005-05-31 Thread Martin Zvarik
Hi,

I saw files like "file.inc.php" and "file.inc"

What is the *.inc suffix good for ?

Thank you for replies.

Martin


[PHP] .INC files

2005-05-31 Thread Martin Zvarik
 Hi,
I saw files like "file.inc.php" and "file.inc"

What is the *.inc suffix good for ?

Thank you for replies.

Martin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Strange comparison behaviour

2005-05-21 Thread Martin Zvarik
String "info" is converted to integer, which is 0...

a)
if("info" == "0")

b)
if("info" === 0)

c)
if("info" == (string)0)


Or use strcmp()

Cya...
Read a book "PHP for beginners"



-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 13, 2005 5:13 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Strange comparison behaviour

You probably mis-typed something:

[EMAIL PROTECTED] ~]$ php

Content-type: text/html
X-Powered-By: PHP/4.3.11

is 0

Cheers,
Bogdan

Erwin Kerk wrote:
> Hi All,
> 
> Can anyone explain me why the following code:
> 
> if ("info" == 0) echo "is 0\n"; else echo "not 0\n";
> 
> Results in: not 0
> 
> 
> Whereas:
> 
> if ("inf" == 0) echo "is 0\n"; else echo "not 0\n";
> 
> Results in: is 0
> 
> 
> 
> Notice the difference: info in the first sample, inf in the second sample.
> 
> 
> The used PHP version is PHP 4.1.2 (CLI version)
> 
> 
> Erwin Kerk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] ZEND Certification

2005-05-21 Thread Martin Zvarik
Ok, what should I expect from the certification then?
Was there any question you didn't expect or anything you didn't know?? If
yes, what was it?

It seems like not many people took it as I am reading some emails here...
like "How to get variable after the form is sent" etc... 

I have looked at yellow pages, seems like you're not there either, Rory
Browne...

If many people here have taken it, can someone please answer my questions
above? Thank you!

Martin


-Original Message-
From: Rory Browne [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 20, 2005 1:31 PM
To: Martin Zvarik
Cc: php-general@lists.php.net
Subject: Re: [PHP] ZEND Certification

On 5/20/05, Martin Zvarik <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> anyone has taken ZEND PHP Certification Exam???
Yes. Loads of people here have taken it. Loads of other people here
set the questions.


> Please can you give me some information about it?
I'm sure you'll get lots of useful and encourageing information about
it. In the meantime you might want to search the archives.

> 
> Thank you,
> 
> Martin
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] ZEND Certification

2005-05-20 Thread Martin Zvarik
Hi,

anyone has taken ZEND PHP Certification Exam??? Please can you give me
some information about it?

Thank you,

Martin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php