|
|
|
|
|
|
<%set rspett = Server.CreateObject("ADODB.RECORDSET")
rspett.open "SELECT UserPetTable.userPetname,UserPetTable.energylevel, PetTable.smallimg FROM PetTable INNER JOIN UserPetTable ON PetTable.petId = UserPetTable.petId WHERE (((UserPetTable.userPetId)=" & session("petselected") & "));",conn
%>
" width="34" height="34"> |
| Pet Name |
<%=rspett("userpetname")%> |
| Energy Level |
<%=rspett("energylevel")%> |
| No. of Weapons |
<%
rspett.close
rspett.open "select count(weaponpetid) as totalc,sum(cost) as total from weaponpettable where userpetid="& session("petselected") ,conn
if not rspett.eof then%> <%=rspett("totalc")%> <%end if%> |
| Weapons Worth |
$
<%if not rspett.eof then%> <%=rspett("total")%> <%end if%> |
|
|
|