Here it is My Sample Codings, Itz Working....
<?php
$conn=mysql_con nect("localhost ","root","" ) or die("unable to connect localhost".mysq l_error());
$db=mysql_selec t_db("mysql_db_ name",$conn) or die("unable to select db name");
$file=fopen("Fi lename.csv","r" );
while(($var=fge tcsv($file,1000 ,","))!==FAL SE)...
User Profile
Collapse
-
Just try this at 1ce
<?php
$row = 1;
$handle = fopen("filename .csv", "r");
while (($data = fgetcsv($handle , 1000, ",")) !== FALSE) {
$num = count($data);
echo "<p> $num fields in line $row: <br /></p>\n";
$row++;
for ($c=0; $c < $num; $c++) {
echo $data[$c] . "<br />\n";
...Leave a comment:
-
select next highest column value in table
Hi,
i knew little bit about "Select MAX(col_name) from <table_name>" function using in mysql to find the largest value in a particular column. Now i want to know with the same fact i`ve to find the second largest value in the same column! how to find the fact with mysql... Can anybody guide me???? -
FAQ abt. JavaScript
how can i pass the <select>,<optio n> value to Function within Java Script
No activity results to display
Show More
Leave a comment: