Showing posts with label learning PHP. Show all posts
Showing posts with label learning PHP. Show all posts

Tuesday, March 29, 2011

The Ravage Ritual is gaining momentum...check out Groupie Mobile App

It seems there is yet hope for the ravaged ones....there has been very little exploration into the world of PHP however I am finding people of the same interest on a Mobile App called "Groupie" its actually a pretty legitimate chat room for the mobile device.

My little red riding wolf got her blog up and running today....she will be blogging about the little things throughout the day that get us through the next one.

I've found plenty of beginning tutorials
PHP Tutorial this one is decent...I would like to read these and then make a bullet pointed list like I have done for other posts...

Thursday, March 17, 2011

The code for your Inventory using PHP

I have been browsing the inter webs and have come across a code for inventory...a simple place to begin gathering a larger picture...

$invsize = 10;
if (mysql_num_rows(mysql_query("SELECT * FROM INVENTORY WHERE user=USERID")) < $invsize){
echo 'You still have inventory space';
}
else {
echo 'Your inventory is full!';
}

That will hopefully help in the near future....

And if you want to get an item from a users inventory...just query the USERID up like this
php
mysql_query("SELECT * FROM items WHERE userid=1515");

A skill for the rogues perhaps?