|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-07-17 19:31 UTC] zeev
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
----> if (msql_connect("localhost") == false): echo "Could not connect to RDBMS<BR>"; endif; $result = msql("richard", "INSERT INTO tNames ( firstname, lastname, age ) VALUES ( 'richard', 'whitely', 44 )" ); echo "INSERT result: $result <br>"; <---- If the query was badly formed or failed to execute for some other reason I would expect $result to be false, but instead it is unset. The echo statement following just prints "INSERT result: <br>"; It would seem that not only is msql() not returning a result but is also failing entirely as when the relation is dumped there is no data.