$result = mysql("databasnamn",$query) or die("Error in query");
Eller så kan du använda dig av mysql_select_db(); funktionen innan och välja db för att sedan använda dig av
$result = mysql_query($query) or die("Error in query");
------------------
"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow
"De svårast lösta felen är alltid dom enklaste att korrigera"
- Moores lag om programmering
------------------
"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow