21
_metemet_
Re: read data from html file with php file
  • 2008/4/2 14:00

  • _metemet_

  • Just popping in

  • Posts: 62

  • Since: 2008/4/1 2


example:

<?php
$con = mysql_connect("localhost","peter","abc123");
mysql_select_db("my_db", $con);
$file = file_get_contents ('YourFile.txt');
mysql_query("INSERT INTO your_table (your_cloumn)
VALUES ('$file')");
mysql_close($con);
?>


try like this ;)
www.xoops-tr.com
x-tr.sourceforge.net




TopTop
« 1 2 (3)



Login

Who's Online

67 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 67


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits