![]() |
New to PHP
I'm trying out this code to output all users last post dates. But when I exectue it it doesnt ouput a thing. What am I doing wrong?
PHP Code:
|
try echo $lastpost . "<br />";
|
I think it is becasue $dateformat isn't defined yet (unless it is in vb, but I don't think it is). Try using $vboptions['dateformat'] instead of $dateformat. If you want to display the date and the time the way vB does replace everything inside your while loop with:
PHP Code:
|
Quote:
Thanks alot. Works great now :) |
All times are GMT. The time now is 08:58 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:
|