Jump to content

Parse error (T_FUNCTION)


derekmcd

Recommended Posts

Hi, I'm having problems here. I can't seem to find the problem within the code. I have pasted the code here. It is a custom compoent being developed for a Joomla install

 

Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /var/www/ticecareers/administrator/components/com_extjobs/html/admin.extjobs.industry.html.php on line 77

 

		
		<input type="hidden" name="option" value="com_extjobs" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="func" value="<?php echo $func; ?>" />
		<input type="hidden" name="id_industry" value="<?php echo $row->id_industry; ?>" />
		<input type="hidden" name="cid[]" value="<?php echo $row->id_industry; ?>" />
	</form>
<?php	} ?>      <!-- THIS IS LINE 77 -->

<?php
//Function to generate and display the default page
function show($rows, $pageNav, $lists, $func){
	//initialize some variables used within the function
	$db	=& JFactory::getDBO();

	JHTML::_('behavior.tooltip');

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/112873-parse-error-t_function/
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.