Character Creation from database

I am not a c# programmer and I am looking for a good example of using the www object to insert or pull data from a database. I have the database and php coding, what I am looking for is the appropriate syntax for www. I have used the script example in the reference but this does not seem to work. I am sure its my understanding of C#, I have tried it with

`IEnumerator () { // and without.

public string url = "http://mydomain.com/page.php?avatarFile=5 WWW www= new WWWW(url); yield return www; }`

You can access the returned data depending on the type of the data. If it is String :

String myData;
Texture2D myTexture;

IEnumerator Start() 
{ 
public string url = "http://mydomain.com/page.php?avatarFile=5";
WWW www= new WWWW(url); 
yield return www; 
myData = www.text;
myTexture = www.texture;
}

So on. Check http://unity3d.com/support/documentation/ScriptReference/WWW.html for further return reference.