Jump to content
MakeWebGames

Last Page View


peterisgb

Recommended Posts

ok this is not very big but its good and works.

This mod Allows you to add a Lastpage View where you want it to, i made this for my usersonline which is located here

http://makewebgames.io/showthread.php/41526-My-Usersonline-php

Add lastpage to your database user users.

Add this to every page

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

under globals on all pages :S

put this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

on anypage you want the last page to show eg, in viewuser.php

If you have my Users online mod (above link) then this works for it.

Link to comment
Share on other sites

Psst. As you're, in your query, using $db and $userid, the only things you'd need to global, if any, would be;

$db

$userid

Your first step is also incorrect, maybe re-read it?

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now on user profile

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Comprende?

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...