View Single Post
  #15  
Old 06-19-2011, 02:44 PM
blondbananamix blondbananamix is offline
Member
 
Join Date: Jan 2011
Posts: 47
Gender: Female
Credits: 6,245
blondbananamix is on a distinguished road
Default

Ah okay, thank you.

I have a problem now with the script. I think I deleted something I shouldn't have because now when I try and adopt an adoptable, i click the 'manage adoptable' link and it says the adoptable does not exist D:

I don't know if this helps but here is that part of the adopt.php page...

Quote:
adopt to guests...

if($canadopt == "yes"){


//If we can adopt the adoptable, show the image and adoption link...
$article_content .= "
<a href='adopt.php?id=".$aid."'><img src='".$eggimage."' /></a><br>
<strong>{$type}</strong> - {$row['cost']} {$GLOBALS['settings']['cost']}.
<br>{$description}<br>";


}
} // End the looping out of all adoptables...
$article_content .= "</table>
<h3>Adopt</h3>
<p>Adoptable Name: <input name='name' type='text' id='name' />
<input name='promocode' type='hidden' id='promocode' value='".$promocode."'>
</p>
<p>
<input type='submit' name='Submit' value='Adopt Me'>
</p>
</form>"
;
} // This bracket ends the IF check for whether or not an ID was entered
Reply With Quote