Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9054683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:45:01+00:00 2026-06-16T13:45:01+00:00

Can i call admin panel controller from account controller? I mean in account controller

  • 0

Can i call admin panel controller from account controller?
I mean in account controller i set acessible parts of admin panel and i want to transfer that variable with accessible place to admin panel controller.

and now can i do sth like:

<?php

// Code here

$this->panel = new Admin_Panel();
$this->panel->accessibleparts = $this->data['accessible'];

?>

Or is it disallowed in mvc rules?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:45:02+00:00Added an answer on June 16, 2026 at 1:45 pm

    The answer is read about how it works in the manual: http://php.net/oop5

    Answer to your previous question:

    You get the following errors:

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user ‘radiolev’@’localhost’ (using password: NO) in /home/radiolev/public_html/top/toplist.class.php on line 10

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/radiolev/public_html/top/toplist.class.php on line 10

    You then ask:

    I don’t understand why it appears cause the mysql passwords are good.

    No worries. You just made a little mistake. The mistake is that you make use of the function mysql_real_escape_string while not using a connection of the mysql_* extensions (note: extension, not database server).

    In case you’re calling that function without establishing a mysql_* extension database connection, PHP will automatically create one based on the settings provided in php.ini. That is normally only the host set to localhost – but wihout username and password.

    This is why you see the first error that the connection fails and the second error is the result of the failed connection – there is no link to the databse, so ?mysql_real_escape_string can not work.

    To solve the problem, just do not use mysql_real_escape_string when you’re using mysql via PDO. Prepared statements is all you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create orders manually from virtue mart admin panel.Suppose one client call
I understand that I can call ToString().IndexOf(...), but I don't want to create an
(Yes I know I can call Java code from Scala; but that is pointless;
From this code I can call bmwCars.CopyToDataTable() as I expected. var bmwCars = from
Using a delegate I can call any function asynchronously. From the documentation I understand
I am using the fullcalendar plugin, and want to call it from the Wordpress
I was looking at some Django examples and I've noticed that you can call
How can I call external javascript in my default admin html page in Django.
I know that one can call the following API to hibernate the system: SetSuspendState(TRUE,
I have an ASP.NET 3.5 e-commerce site that has an admin section. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.