Slashes around the wrong way
Tried and tested:
PHP Code:<?php
echo "<media:content url=\"http://images.shrinktheweb.com/xino.php?stwaccesskeyid=a6d3477afec91d8&stwembed=1&stwsize=lg&stwurl=".$r['company_url']."\" type=\"image/jpeg\" />\n";
?>
I've a feed thats generated using PHP script thats working fine, however when I try to add an image via ShrinkTheWeb (webshot generator) to an <item></item>... well lets just say I'm getting nowhere and am getting out of my depth
The code I'm using isThe error being generated is;Code:echo "<media:content url=/"http://images.shrinktheweb.com/xino.php?stwaccesskeyid=a6d3477afec91d8&stwembed=1&stwsize=lg&stwurl=".$r['company_url']."/" type=/"image/jpeg/" />\n";
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in feed.php
Can anyone guru shed any light on it? I presume its something to do with the "s as I am using an echo to generate the actual thing.
Thx
Slashes around the wrong way
Tried and tested:
PHP Code:<?php
echo "<media:content url=\"http://images.shrinktheweb.com/xino.php?stwaccesskeyid=a6d3477afec91d8&stwembed=1&stwsize=lg&stwurl=".$r['company_url']."\" type=\"image/jpeg\" />\n";
?>
Frostie (18-02-11)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks