I would like to get the
Code: Select all
_SERVER["SCRIPT_NAME"]/68-vehichle-for-sale-MAKE-MODEL-PRICE.php
or after the records reach three characters
/268-vehichle-for-sale-MAKE-MODEL-PRICE.php
the record id for the page the number at the beginning of the page name.
I would like to somehow get this number and query the database for the results.
I know this is possible, but how?
I just need the number the rest is fine, im just wondering how to do it for two and three characters.
Thank in advance.