![]() |
Get contentid in php
Hello to all,
I need the contentid of articles to create a widget ... currently i am using: PHP Code:
http://www.example.com/content/487-caca-de-perro I get = 487-caca-de-perro And I just want to get 487 Do anyone knows how to do this? |
You could try this:
Code:
$thecontentid=intval($_GET["r"]); |
All times are GMT. The time now is 10:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|