al3x93 Posted December 4, 2013 Report Posted December 4, 2013 'Url' => "http://www.xxxxx/api/farsa.php?farsa=".$farsacum il pot pune corect nu imi functioneaza Quote
aelius Posted December 4, 2013 Report Posted December 4, 2013 (edited) 'Url' => "http://www.xxxxx/api/farsa.php?farsa=".$farsacum il pot pune corect nu imi functioneazaAsa merge ?'Url' => 'http://www.xxxxx/api/farsa.php?farsa='.$farsa' Edited December 4, 2013 by aelius Quote
al3x93 Posted December 4, 2013 Author Report Posted December 4, 2013 Asa merge ?'Url' => 'http://www.xxxxx/api/farsa.php?farsa='.$farsa'Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' i Quote
GarryOne Posted December 4, 2013 Report Posted December 4, 2013 E corect si cum ai pus tu, dar depinde de ce ghilimele ai utilizat tu mai in fata, sau poate ai uitat sa pui o virgula.. Da-ne tot codul sau eroarea. Quote
EAdrian Posted December 4, 2013 Report Posted December 4, 2013 Ca s? te putem ajuta trebuie s? ne dai mai mult cod nu doar o linie ?i s? ne zici ?i eroarea, nu doar "nu merge" c? nu suntem mama omid? s? ghicim.PS: Rodica nu r?spunde la telefon, c-o întrebam pe ea Quote
BogdanNBV Posted December 4, 2013 Report Posted December 4, 2013 Pune mai mult din cod. Este posibil ca problema sa fie undeva inainte de acea bucata de cod.Si incearca si asa: <?php $array = array("URL" => "http://www.xxxxx/api/farsa.php?farsa={$farsa}");?> Quote