hi all,
I just updated my PHP, Apache and MY SQL to this version
Apache version :
Apache/2.2.4 (Win32)
PHP version :
5.2.4
MySQL version :
5.0.45-community-nt
and previous I had
php 5.0.3
apache 1.3.33
MySQL version : 4.1.8-nt-log - extension : mysqli
Now the problem is all my sites which are in localhost are not working, all the pages displays the PHP code itself. No error is given only i see some images and all the PHP codes coming
_table_name=CMS_TABLE; $sSqlQuery=" where cms_id=?" ; $row = $tbl->find($sSqlQuery,array($id)); $count=$tbl->_row_count; if($count>0) { $desc=$row->cms_desc; } $desc1=""; $id1=2; $tbl1=new Model; $tbl1->_table_name=CMS_TABLE; $sSqlQuery1=" where cms_id=?" ; $row1 = $tbl1->find($sSqlQuery1,array($id1)); $count1=$tbl1->_row_count; if($count1>0) { $desc1=$row1->cms_desc; } $sSqlQuery2="select * from ".MOVIES_TABLE." WHERE movies_home=1"; $res2 = $tbl1->find_query_all($sSqlQuery2); $count2=count($res2); ?>
Anyone knows why this is happening ???
Thanks in advance...