New Time
- Joined
- Jan 17, 2008
- Messages
- 317
- Reaction score
- 0
now i have the Status.php that support pets ^_^
HERE NOW THE GUIDE!!
1st: make a column PetNum, bigint, PetName, varchar(20) and PetType, int to your ChaInfo table
2nd: modify your sp_insertpet then put this code before end!!
then to your sp_renamepet Put this before the end or add this!!
then that's it here's the status.php i made it's fix ^_^
here's my ss. i made this yesterday night!!
NOW TRY TO YOUR STATUS ^_^ then tadan ^_^
HERE NOW THE GUIDE!!
1st: make a column PetNum, bigint, PetName, varchar(20) and PetType, int to your ChaInfo table
2nd: modify your sp_insertpet then put this code before end!!
Code:
Update ChaInfo
Set PetName = @nPetName
Where PetNum = @nPetNum
Update ChaInfo
Set PetType = @nPetType
Where PetNum = @nPetNum
Code:
Update ChaInfo
Set PetName = @szPetName
Where PetNum = @nPetNum
here's my ss. i made this yesterday night!!
NOW TRY TO YOUR STATUS ^_^ then tadan ^_^
Attachments
Last edited: