PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website
Unanswered

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How to point internal pointer to first element of an array?


If you want to do this then you can use the reset() function.

For a little more information on this and a simple example of how to use reset, please read this answer:

http://www.php-questions.com/phpfaq/answer115

Comment on this Question and Answer >>>

ASK A QUESTION

More arrays PHP Questions

i need to store a multi-dimensioned array into a file. there is plenty of info. on creating md-arrays but i cant find anything on writing a md-array to a file.

How do I reverse the order of the elements in an array?

How do we sort an array of names taken from a text file, displaying only unique names?

How can I create an array of the letters of the alphabet?

How do I change: function wordlimit($string, $length = 50, $ellipsis = "...") { $words = explode(' ', strip_tags($string)); if (count($words) > $length) return implode(' ', array_slice($words, 0, $length)) . $ellipsis; else



Custom Search