crydrk
08-02-2009, 03:28 PM
What I want is for people to be able to see on the doadopt.php page a textbox with code for myspace immediately after adopting a pet.
I've successfully modified the code on the page where it normally shows the bbcodes and html codes to do alternate code for html:
$article_content = $article_content."<p><u>HTML Code (for myspace or other websites)</u>:</p>
<p>
<textarea name='textarea' cols='50' rows='4'><a href=\"http://www.".$domain."".$scriptpath."/levelup.php?id=".$aid."\" target=\"_blank\">
<img src=\"http://www.".$domain."".$scriptpath."/get/".$aid.".gif\" border=0></a>
</textarea>
</p>";
And I have also realized that on the doadopts page I need to change 'aid' to 'id' but when I put this code in all that happens is it shows the image as it would appear as a signature but no text box whatsoever.
I've successfully modified the code on the page where it normally shows the bbcodes and html codes to do alternate code for html:
$article_content = $article_content."<p><u>HTML Code (for myspace or other websites)</u>:</p>
<p>
<textarea name='textarea' cols='50' rows='4'><a href=\"http://www.".$domain."".$scriptpath."/levelup.php?id=".$aid."\" target=\"_blank\">
<img src=\"http://www.".$domain."".$scriptpath."/get/".$aid.".gif\" border=0></a>
</textarea>
</p>";
And I have also realized that on the doadopts page I need to change 'aid' to 'id' but when I put this code in all that happens is it shows the image as it would appear as a signature but no text box whatsoever.