10-26-2007, 01:37 PM
|
#3 (permalink)
|
|
The Contributor
Join Date: Oct 2007
Posts: 44
Thanks: 0
|
oh!!thank u very much blue saga.i have tried also doing that but like what u said is not recommended..if i insert the data into my database like this one
PHP Code:
[if (isset($_POST[search]))
{
echo "amew";
$sql=mysql_query("select * from table");
while ($row=mysql_fetch_array($sql))
{
mysql_query("update candidate_CV content='".mysql_real_escape_string(file_get_contents('$row[path]'))."' where candidate_id='$row[candidate_id]'");
}
}
please correct my code..i want to update the content of the file into mytable.it has an error in file get contents
|
|
|
|