Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

[PHP-DB] Big Pb with PHP & MySQL From: Salim Meethoo (salim <email protected>)
Date: 12/14/00

hello there!!!

i'm in big problem, i need to make a search in my database an indexed fields
which bear the same name as my image . i've look on the net but i only find
to make a search in a file only . here is the code i found, i tried to
readjust it but alas it does'nt work on a database. here is the code i found
:

print("<TD ALIGN=\"left\">");
            if (is_writeable($mycomment=file($info_dir."/".$titre.".txt"))){
             if (file_exists("$info_dir"."/"."$titre".".txt"))
             {
$mycomment=file("$info_dir"."/"."$titre".".txt");
for($index = 0; $index < count($mycomment); $index++)
         {
  print($mycomment[$index]);
       }

              }
            else
              {
print("$nocomment");
}

can someone help me please!!!!!
i'm in big PB

Thank You
Salim

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>