[PHP] .inc over .php

2002-04-19 Thread Jacob Wyke
Just a few quick questions if anybody is out there. Why use .inc as a file extenstion when you can use .php ?? What are the advantages/disadvantages to using .inc? Is one more secure? Which is faster? Which is consider a better pratice? Thanks a lot. ___

RE: [PHP] How to reduce an array to n values?

2002-03-24 Thread Jacob Wyke
Use array_slice(). $output = array_slice ($input, 0, 3); will return the first three values of the array. Check out http://www.php.net/manual/en/function.array-slice.php for more details. -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: 24 March 2002 12:31 To: [EMAIL PR