WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World
Returns start point for next regular expression match

mb_ereg_search_getpos

(PHP 4 >= 4.2.0, PHP 5)

mb_ereg_search_getposReturns start point for next regular expression match

Description

int mb_ereg_search_getpos ( void )

Returns the start point for the next regular expression match.

Parameters

This function has no parameters.

Return Values

mb_ereg_search_getpos() returns the point to start regular expression match for mb_ereg_search(), mb_ereg_search_pos(), mb_ereg_search_regs(). The position is represented by bytes from the head of string.

Notes

Note: The internal encoding or the character encoding specified by mb_regex_encoding() will be used as the character encoding for this function.

See Also


This function searches text or HTML files for URLs embedded in the text and returns them in an array.
Categories : Arrays, Strings, General
How to build a search query for any N number of words in a search string
Categories : PHP, Regexps, Search Engines, Search
How to control the number of decimal places when outputting numbers.
Categories : PHP, Strings, Variables



Variable number of function args.
Categories : Variables, PHP
Prime Spiral is a image plotted with all the primes in a number spiral.
Categories : Algorithms, Graphics, GD image library, Math.
GetCombo Combo-BOX - Abstraction With function you can retrieve the combo-box structure with its data.
Categories : PHP, HTML and PHP
Array Searching Recursively
Categories : PHP, Arrays
Dynamic thumbnails using the GD image library
Categories : PHP, GD image library, Graphics
Returns the last row from a select where multiple rows have been selected. In this case it is used to determine the last number in an AUTO_INCREMENT column. I use it to create "ticket numbers" or anything that needs a unique ID in sequence.
Categories : mSQL, MySQL, Databases, PHP
Creates a CAPTCHA image in PHP, which displays 5 numbers stored in a session.
Categories : PHP, GD image library, Form Processing, Security
How to get the number of seconds since 01/01/1970 (Timestamp) from MSSql?
Categories : MS SQL Server
How to prevent users arriving on a subpage of your site when they arrive from a searchengine.
Categories : Java Script, HTML
Reverse a given number
Categories : PHP, Beginner Guides, Algorithms, Math.
Adding dashes to credit card numbers
Categories : Strings, Credit Cards, PHP