I don't know what's wrong, the code is working fine in my server but when I try to run the same code in my localhost using WAMP server I am getting the following errors. Can anyone help me out in fixing these please?
I have component called mycomponent
models
paypal.php
controllers
paypal.php
views
paypal
view.html.php
index.html
tmpl(folder)
default.php
index.html
In controller i have this code
<?php
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.controlle...
I am getting the following error :
Fatal error: Class 'Application_Form_Employee' not found in /var/www/Employee/application/controllers/EmployeeController.php on line 31
I have created a separate folder for the forms in applications and placed the form Employee.php in the folder of Employee ...
I'm getting an unexpected T_VARIABLE on line 8 error message with the following PHP code, If anyone could help I'd appreciate it.
<?php
$con=mysqli_connect("mysql.0hosting.org","Username","Password","Database");
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_co...