HektoR Posted November 14, 2008 Share Posted November 14, 2008 hello everyone. i have one question. i want to run mysql query from txt file. i have txt file on ftp and in it written: ("INSERT INTO users (name,lastname) VALUES ('xxx','yyy')"); and how canĀ i tu run this query with php code /? Link to comment https://forums.phpfreaks.com/topic/132672-mysql_query-from-txt-file/ Share on other sites More sharing options...
cunoodle2 Posted November 14, 2008 Share Posted November 14, 2008 Just use an include file and proceed from there. Link to comment https://forums.phpfreaks.com/topic/132672-mysql_query-from-txt-file/#findComment-689994 Share on other sites More sharing options...
HektoR Posted November 14, 2008 Author Share Posted November 14, 2008 how? please give me an example. Link to comment https://forums.phpfreaks.com/topic/132672-mysql_query-from-txt-file/#findComment-690026 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.