ob1wan Posted April 30, 2009 Share Posted April 30, 2009 I wrote the script and the wierd part is some links work others dont echo "echo "<TR bgcolor=".$evenOdd."><TD><a onClick=\"window.open('http://beta.gatherer.wizards.com/Pages/Card/Details.aspx?name=".$row['Name']."', 'Gather', 'width=800, height=800') \" HREF='#' onmouseover=\"document.card.src='cards/".$row['Edition']."/".$row['Name'].".jpg'\">".$row['Name']."</a></TD><TD align='center'> ".$row['Edition']." </TD><TD align='center'><font color=''> ".$row['Color']." </font></TD><TD >".$row['Type']."</TD><TD align='right'>"; ie..... <a onclick="window.open('http://beta.gatherer.wizards.com/Pages/Card/Details.aspx?name=Elemental Token', 'Gather', 'width = 800, height = 800') " href="#" onmouseover="document.card.src='cards/Conflux/Elemental Token.jpg'">Elemental Token</a> works fine but it prints a lot of them <a onclick="window.open('http://beta.gatherer.wizards.com/Pages/Card/Details.aspx?name=Elder Mastery', 'Gather', 'width = 800, height = 800') " href="#" onmouseover="document.card.src='cards/Conflux/Elder Mastery.jpg'">Elder Mastery</a> it's in a loop and i don't understand what i can do to force the way it prints the source code for the client Quote Link to comment https://forums.phpfreaks.com/topic/156217-php-creating-weird-source-code-on-client-side/ Share on other sites More sharing options...
Mark Baker Posted April 30, 2009 Share Posted April 30, 2009 echo "echo "<TR bgcolor=". ???? Quote Link to comment https://forums.phpfreaks.com/topic/156217-php-creating-weird-source-code-on-client-side/#findComment-822482 Share on other sites More sharing options...
ob1wan Posted April 30, 2009 Author Share Posted April 30, 2009 echo "<TR bgcolor=".$evenOdd."><TD><a onClick=\"window.open('http://beta.gatherer.wizards.com/Pages/Card/Details.aspx?name=".$row['Name']."', 'Gather', 'width=800, height=800') \" HREF='#' onmouseover=\"document.card.src='cards/".$row['Edition']."/".$row['Name'].".jpg'\">".$row['Name']."</a></TD><TD align='center'> ".$row['Edition']." </TD><TD align='center'><font color=''> ".$row['Color']." </font></TD><TD >".$row['Type']."</TD><TD align='right'>"; Quote Link to comment https://forums.phpfreaks.com/topic/156217-php-creating-weird-source-code-on-client-side/#findComment-822573 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.