derekmcd Posted July 2, 2008 Share Posted July 2, 2008 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 More sharing options...
trq Posted July 2, 2008 Share Posted July 2, 2008 Were going to need to see more code above where you have posted. Link to comment https://forums.phpfreaks.com/topic/112873-parse-error-t_function/#findComment-579747 Share on other sites More sharing options...
derekmcd Posted July 2, 2008 Author Share Posted July 2, 2008 The file attached is the entire code. It is quite long so to be nice I jsut posted the area around line 77 but have attached the entire file to the topic Link to comment https://forums.phpfreaks.com/topic/112873-parse-error-t_function/#findComment-579749 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.