I have a vb6 program with mysql as database. My instructor asked me to connect my vb6 to php. The php code only view what is inside in the vb6, e.g. reports. My question is, is this possible? I've googled this one but no concrete ideas occurred. If so, how could I implement this one or what are the steps to achieve this?
I'm confused with this one because I only know php and mysql connection. VB6 to PHP is new thing for me. If this is not possible, maybe i should be using php and mysql. I just want to know if this is possible.
I'm going to throw an answer out there. No, you can't have PHP view what is "inside of VB6". You can't mix VB6 (or any VB) with PHP. But you can have them (the two applications) interact with each other by various methods such as API calls and through datbases.
What I think you mean though, is that you have a VB6 app connecting to and using a MySQL datbase.
Just make a connection to the same MySQL database with PHP and you can have the two systems share the data or "see what is in the VB6".
How to connect to MySQL in PHP http://www.php.net/manual/en/book.mysqli.php