1i saved my excell file in csv formate
2i made a data base in mysql
3i made a table with 5 fields
4i run this file
error
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\test\hi.php on line 16
Expand|Select|Wrap|Line Numbers
- <?php
- echo"hi";
- $conn=mysql_connect("localhost","root","");
- if(!($conn)) die("could not connect");
- $db=mysql_select_db("asdf");
- if(!($db)) die("database not found");
- LOAD DATA INFILE 'D:\backup\institutes.csv' INTO TABLE 'inst';
- ?>