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

How do I check if a variable is of array type?

How do I reverse sort the members of an array?

how sorting an array with keys?

I have an array of a hundred or so lines, each line has data with "|" separated values. I need to scan through this array, and select the line whose first 5 characters matches a text string. Any ideas or questions?

in .$array->description doesn't work "description" is suppose to stay black and turns colored and is ignored Why?



Custom Search