Jump to content

Creating Profile in UserCake


Clarkie

Recommended Posts

Hey,

 

I've been using UserCake to create a game to help me teach myself PHP. This is the first time I've ever tried to use PHP and I'm struggling to add profiles to the script.

 

The account page shows the logged in users amount of money etc and I took that and tried to edit it so it would use the $_GET function and then the url "user.php?ID=1" (example only) could be used to see user 1 and anyone could see the page.

 

http://pastebin.com/u/Clarkie

 

On Pastebin you can see the original files used for the account page starting with "UserCake". These pages work and do not need fixing. The pasties starting with "New UserCake" are my custom pages.

 

I'd appreciate it if somebody could not only tell me how to fix it but also explain why it needed fixing so I can learn from the mistake.

 

A live demo can be seen here: http://www.jacknathanclarke.info/dev/test/user.php?ID=1

 

Thanks for your time and help,

Clarkie

Link to comment
https://forums.phpfreaks.com/topic/242663-creating-profile-in-usercake/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.