|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-22 19:49 UTC] sterling at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 02:00:01 2025 UTC |
$database = "isdn"; $con = msql_connect(); if ( !$con ) { echo "Keine verbindung zum msql-Server<br>"; echo msql_error(); } else { $res = msql_select_db( $database, $con ); if ( !$res ) { echo "Konnte Datenbank nicht ausw?hlen.<br>"; echo msql_error(); } else { echo $res; $query = "SELECT * from user_ref"; $result = msql( $database, $query, $res); /* Putting $res as the last parameter returns this ->Warning: Supplied argument is not a valid mSQL-Link resource Without the $res it gives the expected result. The same applies to msql_query() */ } } I have php4.0.0 running as an apache module ( apache 1.3.9 built May 23 2000 )