Snooble Posted February 28, 2007 Share Posted February 28, 2007 I have this screen: I want to take two values from a database. Name and Age. The table will have 3 columns. (ID, Name, Age) I think i can sort out the looping query to go from each row in order of ID. But whats the connection string? What do i put there. Replace my database username with "username" and table name with "tablename" etc. This is an automation program. I want it to save the information into a .txt file via this program. I know how to use fwrite. Thanks, Snooble Quote Link to comment Share on other sites More sharing options...
Snooble Posted February 28, 2007 Author Share Posted February 28, 2007 anyhelp? thanks Snooble Quote Link to comment Share on other sites More sharing options...
simcoweb Posted February 28, 2007 Share Posted February 28, 2007 Are you writing a script? Or looking for help with this utility program? Quote Link to comment Share on other sites More sharing options...
Snooble Posted February 28, 2007 Author Share Posted February 28, 2007 I don't know what information to place in "Connection String:" could someone example one and then i can fill my information etc. As i haven't a clue Snooble Quote Link to comment Share on other sites More sharing options...
jcbarr Posted March 1, 2007 Share Posted March 1, 2007 connection string is the actual connection to the database, for example the parameters you would use in the mysql_connect function. Quote Link to comment Share on other sites More sharing options...
Snooble Posted March 1, 2007 Author Share Posted March 1, 2007 I thought so, but in what order? and how would i seperate them? I've never seen a connection string before. But i connect to my database, just through variables. Snooble Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.