jmcc Posted November 8, 2009 Share Posted November 8, 2009 Hi When I <?php> include ("header.php");<?> my headder this way my dependent dropdowns doenst work. But when I put the code in the page without using the inlude statement. the everything works I get an error stating that the code is locked by the template or a translator. Any helkp would be greatly apreciated. Jay Link to comment https://forums.phpfreaks.com/topic/180773-dependent-dropdown-doesnt-work-if-i-include-my-header/ Share on other sites More sharing options...
jmcc Posted November 8, 2009 Author Share Posted November 8, 2009 got it. just had to put php for my fropdowns in my header. <?php> //begin JSRecordset $jsObject_suburb = new WDG_JsRecordset("suburb"); echo $jsObject_suburb->getOutput(); //end JSRecordset <?> <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" /> <?php> //begin JSRecordset $jsObject_city = new WDG_JsRecordset("city"); echo $jsObject_city->getOutput(); //end JSRecordset <?> Link to comment https://forums.phpfreaks.com/topic/180773-dependent-dropdown-doesnt-work-if-i-include-my-header/#findComment-953712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.