Need help with this, please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

k33bz
Forum Newbie
Posts: 23
Joined: Tue Sep 21, 2010 1:57 pm

Re: Need help with this, please

Post by k33bz »

YEAH,

I got the site working in almost its entirety. Only thing I am missing now is being able to view user details and adding a user. Here is the block of code from /pb_events.php

Code: Select all

		case "users":

			

			if ((!$_GET["action"])&&($_SESSION["minibase"]["raw"]["user_level"] != 0 )) {

				$_GET["action"] = "details";				

			}



			if ($_SESSION["minibase"]["raw"]["user_level"] == 1) {

				$_GET["user_id"] = $_SESSION["minibase"]["raw"]["user_id"]; 

				$_POST["user_id"] = $_SESSION["minibase"]["raw"]["user_id"];

			}

			

			$data = new CSQLAdmin($_GET["sub"], $_CONF["forms"]["admintemplate"],$thiss->db,$thiss->tables);

			return $data->DoEvents();

		break;
Does anyone see anything wrong in it?
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Need help with this, please

Post by Jonah Bron »

If you mean syntax errors, I can't see any. Do you get errors?
k33bz
Forum Newbie
Posts: 23
Joined: Tue Sep 21, 2010 1:57 pm

Re: Need help with this, please

Post by k33bz »

Nope, no errors that are apperant. Just have the users details page and add user not showing up. Also there is this:
http://ubuntuforums.org/showthread.php? ... ost9882402
Post Reply