Question Create php file

ud2008

Well-known member
Joined
Jul 5, 2010
Messages
148
Programming Experience
Beginner
I want to know if it is possible to generate a php file depending on selection on a win form in vb.net 2010.

If so, does anyone has a link to a sample.

Thanks
 
A PHP file is just plain text so you would create a PHP file like you would any other text file. You might create a StreamWriter and call WriteLine multiple times, or any of various other options.
 
Thanks for the reply.

But the selections on the form are selections from a mysql database.

Do you have some examples?
 
Are you saying, without actually saying, that you don't know how to get the data from the database in the first place? If so then it's important to give us that information because we are unlikely to guess. If not then it's pretty much irrelevant because where the data comes from doesn't really affect how you use it. Writing to a StreamWriter is the same no matter where the data comes from. As such, any example that you have already found when searching the web is applicable.
 
Back
Top