Jump to content

wewewe14

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by wewewe14

  1. hello, i want make xml.php file likes http://gosale.ge/xml.php with php xml this is my code but it dont like this while($row = mysql_fetch_array($rs)) { $id = $row['id']; $name=$row['name']; $image=$row['pic_dir']; $text=$row['id']; $time=$row['end_at']; $price=$row['price']; $percent= 100-(($row['price']*100)/$row['origin_price']); $price=$row['price']; $xml_output .= "<sale >\n"; $xml_output .= "<link>http://hopla.ge/component/enmasse/deal/view/$id/1960_28_1_.html</link>\n"; $xml_output .= "<title>$title</title>\n"; $xml_output .= "<image>2222</image>\n"; $xml_output .= "<text>$text</text>\n"; $xml_output .= "<price>$price</price>\n"; $xml_output .= "<percent>$percent</percent>\n"; $xml_output .= "</url>\n"; } $xml_output .= "</deals>"; echo $xml_output; can anybody help me?
×
×
  • 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.