Need help with the site/forum/pets? Ask questions and get help from other members here.
by Sharp Glimpse » Sat Oct 24, 2015 1:02 am
I was wondering if someone could help me.
I'm using 000webhost and I wanted to put adoptables. My computer doesn't let me open the zip file, so I copied the code from the tutorial and pasted in the HTML box. But when I tried to click 'Adopt Me', it just went to a blank page saying '404 Not Found'. I realized I hadn't put the code for the second page (where it says Thanks for adopting this pet etc.) but I don't know where to put it. I know a little php but am not very good at it.
Here's the first page of the adopting. Where do I put the rest?
- Code: Select all
<html>
<head>
</head>
<body>
<p>Adopt one of my pets!</p>
<table width="400" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><img src="dogbaby.png"></td>
<td>
<form action='adopt.php' method='post'>
<input type="hidden" name="id" value="1">
Owner's name: <input type="text" name="ownername" value=""><br/>
Pet's name: <input type="text" name="petname" value=""><br/>
<input type="submit" value="Adopt me!">
</form>
</td>
</tr>
<tr>
<td><img src="ratbaby.png"></td>
<td>
<form action='adopt.php' method='post'>
<input type="hidden" name="id" value="2">
Owner's name: <input type="text" name="ownername" value=""><br/>
Pet's name: <input type="text" name="petname" value=""><br/>
<input type="submit" value="Adopt me!">
</form>
</td>
</tr>
</table>
</body>
</html>
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
• christian • adult tck • makes creepy art (& stories) • incurable optimist •
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛


☀꧁◦°˚°◦.ωє αяє αмυѕє∂.◦°˚°◦꧂☀
-

Sharp Glimpse
-
- Posts: 14154
- Joined: Thu Nov 14, 2013 3:40 am
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
-
by ✦ nemuri » Tue Oct 27, 2015 1:12 pm
*Thinks to self*: Hmm, that link looks really scary. Whateves, Imma click it anyways!
*Later*
*Me*: I'm scarred for life. I don't understand a single thing Nick was going on about?
┌────────────┐御影密bot - inactive
if you have questions, the
answer is probably "no"└────────────┘
-

✦ nemuri
-
- Posts: 11438
- Joined: Tue Jun 30, 2015 3:04 pm
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
by Tk_Katelyn » Sun Dec 27, 2015 4:05 pm
Just wondering, how is this supposed to get this to connect to the account? Like how will you get it to show up in your inventory? PV your reply, i won't remember to check back here XD
─ ─ ──── навсегда в покое ──── ─ ─
★ ◕‿◕ ★
ωну ∂σ ωє ѕαу συя ρяσвℓємѕ
αяє ρєямαηєηт
ωнєη ℓιƒє ση єαятн ιѕ тємρσяαяу?
★ ◔◡◔ ★
─ ─ ──── Вечная тишина ──── ─ ─
ℓσσкιиg тσ вυу/тяα∂є/ѕєℓℓ ςнαяαςтєяѕ!
ρм мє ιf ιитєяєѕтє∂.
✿ Art Shop ✿ Deviant Art ✿ Toy House ✿
-

Tk_Katelyn
-
- Posts: 1488
- Joined: Sat Dec 28, 2013 9:19 am
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
by Rottfield » Mon Jan 04, 2016 1:20 pm
To add onto what Choloute said, do you have a database to keep track of all of the data flowing through?
You need the system to be able to save the pet data on accounts, so users can see the adopt that they've adopted.
From what I've seen the website doesn't have a log(s) to store the data since accounts are not being used and the clicking the button doesn't actually have the user adopt the pet, it just takes them to a page where the bbcode/html is given.
You should use MySQL.
-

Rottfield
-
- Posts: 813
- Joined: Thu Jun 25, 2015 12:20 pm
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
Who is online
Users browsing this forum: No registered users and 4 guests