Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Take all of a row and generate into a file.

Slightly simple when you think about it

In a table called users i have a row called email , I want to take all of them and put them in a list.

How do i go about doing so?

I get its mysql however there isnt a section for that so i deemed this the most appropraite place.
Try this;

Code
Mysqli_query( "Select Email_row FROM User_Table INTO OUTFILE /tmp/notepad.txt")

PS: make certain to use Mysqli and not Mysql.


And there's a section for SQL: https://hackforums.net/forumdisplay.php?fid=300
...


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by blackcoder00Jun 12, 2020 12:00 AM 13 211 Jun 12, 2020 12:00 AM
Last Post: DyMa
[Javascript]  by dawid17Jun 4, 2020 06:22 AM 0 99 Jun 4, 2020 06:22 AM
Last Post: dawid17
[PHP] by Zan0nJun 30, 2019 10:28 AM 1 143 Jun 30, 2019 10:28 AM
Last Post: Nachfolger