Please forgive any obvious ignorances on my part, I am just learning PHP...
Having read quite a bit on-line, I am interested in trying to "trap" URLs
sent to my site so I can process the request and respond without
neccessarily having a "real" page to serve. If this makes any sense, how do
I do it
Hi all,
can I put a function_name() in the place holder?
I know I can use a file name, but it would be much better (for me) if I
could use a function name.
Thanks in advance
Al
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
This is a bit wierd so don't flame please.
Imagine a database table, field defined as ENUM with a list of allowed types
such as
"Mr", "Mrs", "Miss", "Dr", "Prof", etc - you get the idea.
I've read the MySQL manual and by using
SHOW COLUMNS FROM "table_name" LIKE "enum_column_name";
I c
New Horizon!
i would like to introduce a good company who trades mainly in electornic
products.
Now the company is under sales promotion,all the products are sold nearly at
its cost.
They provide the best service to customers,they provide you with original
products of
good quality,and what i
Please ignore the previous "New Horizon" message. It is spam and looks like
someone managed to hack into my hotmail account.
If you wish to, please update your records and use a...@lordies.co.uk in future.
Cheers
Al
_
Free photo
Hi All,
Not being a professional programmer I am looking for some advice about
the best way to do the following:
I have a large multidimensional array (up to 7Mb) It contains a list of
categories in a fairly normal Cat_ID and Parent_ID arrangement. The
array also contains a great deal of superflu
ginal Message-
> From: Brent Baisley [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2005 19:35
> To: Alan Lord
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Speed/Efficiency Question: Large array into DB
>
> Sounds to me like you are trying to import data. In which
> c
Hi all,
I'm really struggling here! I have a large, multi-dimensional array that
I want to "clean-up" a bit before committing to a database.
I want to remove quite a bit of the array but using the KEYs not the
values. I know the keys I want to keep and I know the keys I want to get
rid of. I want
Thanks for the replies gents.
I have cludged together something from your solutions but it isn't yet
working. I've been staring at multi-dim arrays all day and am getting
tired, so I'll carry on tomorrow.
Thanks again,
Alan
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTEC
ursive?
Thanks to the contributors who supplied ideas and knowledge..
If anyone thinks this could be done a better way, please feel free to
comment!
Alan
> -Original Message-
> From: cc [mailto:[EMAIL PROTECTED]
> Sent: 13 October 2005 07:43
> To: Alan Lord
> Cc: php-general@
Hi TG and others,
I think I must be missing something here.
Your example doesn't seem to traverse "down" into a multidim array.
Also, it appears as though your script assumes that the structure of the
array is known. It isn't and it is retrieved from "far away" and I have
no control over it's s
Blimey...
That's going to take some de-ciphering... It looks fascinating :-)
Thanks!
Alan
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: 13 October 2005 20:53
> To: Alan Lord
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] RE:
please ignore. Sorry for the noise.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please ignore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Amazingly Yes!
Dan McCullough wrote:
did it work ;)
On 10/14/05, Alan Lord <[EMAIL PROTECTED]> wrote:
please ignore
--
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 unsub
Hi all,
Forgive this long diatribe, a bit off-topic I know, but it might
stimulate a good discussion...
I have built a few small apps in PHP before and, whilst they work, I
can't but help feeling that I go about the whole thing the WRONG way...
I am not a professional software person (far from i
Hi All,
I have started reading a couple of books about PHP 5 and whilst most of
it is comprehensible even to me :-), I fail to understand WHY there is
such a thing as an abstract class or method?
I think I understand what it is: A class that can't itself be
instantiated, only inherited from, or a
Greene [mailto:[EMAIL PROTECTED]
> Sent: 23 October 2005 09:19
> To: Alan Lord
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Abstract Classes?
>
> On Sun, 2005-10-23 at 08:54 +0100, Alan Lord wrote:
> > Hi All,
> >
> > I have started reading a couple o
Thanks,
That's starting to make some sence now!
Al
> -Original Message-
> From: Colin Shreffler [mailto:[EMAIL PROTECTED]
> Sent: 23 October 2005 17:03
> To: Alan Lord; 'Jasper Bryant-Greene'
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Abstra
n
> implementation for start()), you guarantee that each derived class
MUST
> provide its own unique implementation for that function.
>
> Colin
>
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Sunday, October 23, 2005 11:12 PM
> To: Alan
Shaun wrote:
Hi,
I am trying to create a function that will convert metres to feet and vice
versa. After searching Google I have found that 1 meters = 3.2808399 feet.
However if someone enters 10.5 to mean 10 feet and 5 inches this is not the
same as 10 feet and half a foot as there are 12 in
21 matches
Mail list logo