For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > May 2007 > help: mysql tables into a text file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author help: mysql tables into a text file
duca

2007-05-16, 6:47 am

Hi guys,

Im a beginner at all this programming stuff guys.

I've got this project im doing for uni.

I need help using php.

I want to use php to grab text from mysql (i.e names) and input them into a textfile, in the format of one name per line. So later on i can use this text file to append to a asterisk sip.conf to automatically add users.

i.e
--Table--
-Matt
-John
-Sally
---------
drop into a text file into as:

Matt
John
Sally

Please help me if you can

Kind regards,
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com