can I connect php to mysql using the php gtk? Can someone send show me some examples?
Of course you can. You can use every extension of PHP like you would use it normally. Just compile your version of PHP with the desired database support and you're done.