Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #72.8K
2 Posted Topics
Re: You can try something like this... <? php . . . $i = 0; while($table[$i]) { if(preg_match('/@/', $table[$i]) { // do email process } else if (preg_match('/http:\/\//', $table[$i]) { // do url process } else { throw new exception ('Unrecognized table entry'); } $i++; } | |
I am developiong a php application which builds several large collections of objects in the course of interacting with the user. The objects need to persist across requests from the user and I've used php sessions to successfully implement this. The objects are persisted until the user is satisfied with … |
The End.