MehryarS
New Member
من از این کد استفاده کردم...
و با این خطا مواجه شدم...
Parse error: syntax error, unexpected T_VARIABLE in /home/customs/public_html/modules/mod_currencyprices/tmpl/Print.php on line 11
چجوری میتونم مشکل رو رفع کنم؟؟؟؟
PHP:
<?php
$con=mysql_connect("localhost","customs_Mehryar","09356467116");
mysql_select_db("customs_Mehryar",$con);
require_once dirname(__FILE__) . '/jdatetime.class.php';
$date = new jDateTime();
$date = new jDateTime(false, true, 'Asia/Tehran');
$date->date("Y-m-d")
$query="SELECT * FROM 'MS_categories' where id > 13";
$select=mysql_query($query);
$query2="SELECT * FROM 'MS_currencyprices' where day = $date";
$select2=mysql_query($query2);
<table width="50%" border="1" cellpadding="0" cellspacing="0">
while($row=mysql_fetch_object($select) && $row2=mysql_fetch_object($select2)){
<tr>
<td>echo $row->title;</td><td>echo $row2->price;</td><td>echo $row2->gomrok;</td>
</tr>
}
</table>
?>
و با این خطا مواجه شدم...
Parse error: syntax error, unexpected T_VARIABLE in /home/customs/public_html/modules/mod_currencyprices/tmpl/Print.php on line 11
چجوری میتونم مشکل رو رفع کنم؟؟؟؟