Re: [PHP] Nested Arrays

2002-12-26 Thread Wee Keat [Amorphosium]


 Is there anyway to do a nested array, I have looked at the various array
 functions and can't figure this out (if possible).
 
Try reading up on multidimensional array...

http://www.onlamp.com/pub/a/php/2001/06/07/php_foundations.html
http://www.onlamp.com/pub/a/php/2001/06/21/php_foundations.html

http://www.php.net/manual/en/function.array.php

HTH.


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




Re: [PHP] Nested Arrays

2002-12-26 Thread Wee Keat [Amorphosium]

- Original Message -
From: Beauford.2002 [EMAIL PROTECTED]
To: Wee Keat [Amorphosium] [EMAIL PROTECTED]
Sent: Friday, December 27, 2002 12:13 PM
Subject: Re: [PHP] Nested Arrays


 Quote: I have looked at the various array functions and can't figure this
 out .


Wow... You're welcome!


 
 
   Is there anyway to do a nested array, I have looked at the various
array
   functions and can't figure this out (if possible).
  
  Try reading up on multidimensional array...
 
  http://www.onlamp.com/pub/a/php/2001/06/07/php_foundations.html
  http://www.onlamp.com/pub/a/php/2001/06/21/php_foundations.html
 
  http://www.php.net/manual/en/function.array.php
 
  HTH.
 
 
  --
  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] How to loop diplays of 4 column of items, every row?

2002-12-06 Thread Wee Keat [Amorphosium]



Hi all... 

I've tried to figure this one out but I'm really 
having a headache now. So, I really need your help.

Situation:

I have a database of images and its own thumbnails 
created using GD. It worked wonderfully.

Problem:

I want to display ONLY thumbnails in table form, 
incrementing in rows of 4 columns. By this I mean that I want to write a script 
which loops in a way that it displays 4 pictures withdrawn from the database 
into a row, and then for the next 4 images, displays them into the next 
row.

If you don't understand see the gif below... a 
script that displays 4 pictures across first ( arrow 1) , then goes to the next 
row and displays the next 4 ( arrow 2).

I can't work out how can i structure my loop to do 
this.

Question:

Can all the gurus out there please give me a 
pointer? I really can't work out the logic or systematic flow of scripting this 
one.


Thank you so much in advance!


Yours,

Wee Keat Chin

--"Two 
things are infinite: the universe and human stupidity; and I'm not sure about 
the the universe." - Albert Einstein 
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP Javascript compatibilty

2002-11-29 Thread Wee Keat [Amorphosium]
Hi all,

I'm developing a WYSIWYG editor using PHP and Javascript (for COM). However, I start 
having problems when I try to display the page using the .php extension. The 
Javascript is not working. 

However, when I save it to HTML, it worked fine. 

Can anyone please help me? Why is this so? What can I do to get Javascript working 
with PHP with ease? Any articles on this?

Thanks a lot... again. :)



Yours,

Wee Keat Chin

--
If you cannot win, make the one ahead of you break the record. 



[PHP] How good is PHP to ASP?

2002-11-10 Thread Wee Keat [Amorphosium]
Hi all,

I'm not too sure if this is the right place to get my answers but I really need to 
know this:

How can I convince my clients that PHP is really good? I mean not a lot of 
non-programmers have heard of PHP language. Most of them only heard of things like 
C/C++, ASP and the like. So, how can I prove to them that PHP is a much better 
language to use? 

Can anyone point me to the right resources for me to show and prove to my clients?

Thanks a lot and sorry if this is the wrong place to ask this question.


Yours,

Wee Keat Chin

---
Don't find a fault; find a remedy 



[PHP] More Detailed Gettext() article?

2002-10-05 Thread Wee Keat [Amorphosium]

Hi everyone..

Sorry for bothering u guys for such trivial matter...

But where can I get a good article on how to use the gettext() function in PHP? I 
am building a website that supports multilingual capability and I've tried searching 
for it (Google, Yahoo, etc) the best that I could find is from O' Reilly but it 
was too brief to let me start on anything...

Please help.

Thanks a million... as usual!


Yours,

Wee Keat Chin

--
If you cannot win, make the one ahead of you break the record.