Whats wrong with this line?
PHP Code:
print"<A HREF=\"http://www.flashstand.com/images/screenshots/$row->name\"><IMG HEIGHT=50 WIDTH=50 SRC=\"A HREF=\"http://www.flashstand.com/images/screenshots/$row->name\"></A>;
Printable View
Whats wrong with this line?
PHP Code:
print"<A HREF=\"http://www.flashstand.com/images/screenshots/$row->name\"><IMG HEIGHT=50 WIDTH=50 SRC=\"A HREF=\"http://www.flashstand.com/images/screenshots/$row->name\"></A>;
may want to encapsulate the variable in parentheses:
ie
Code:print "this is a {$row->value} variable";
Looks to me like the original line is missing the end "
PHP Code:
printf ('<A*HREF="http://www.flashstand.com/images/screenshots/%s"><IMG*HEIGHT=50*WIDTH=50*SRC="http://www.flashstand.com/images/screenshots/%s"></A>',$row->name);
still getting error, i added the quote..
What is the actual error message you are getting and are you using Perl or PHP as structrually from that line you posted they are very similar.
Additionally put a space between print and "
Why not just use this?
PERL:
print qq(<A HREF="http://www.youurl/$yourvariable"><IMG SRC="http://yoururl/$yourvariable"></A>)."\n";