Search found 3 matches

by PacX
Thu Feb 17, 2005 10:08 am
Forum: PHP - Code
Topic: Unexpected "." in....
Replies: 1
Views: 247

Unexpected "." in....

The following code gives this error: Parse error: parse error, unexpected '.' in /home/www/web37/html/search_user.php on line 31 line 31 is the "<form name=...." line of the following code: function htmlSearchForm()&#123; print " <form name='searchform' method='post' action='"...
by PacX
Thu Feb 17, 2005 10:05 am
Forum: Databases
Topic: Invalid mysql_query argument.
Replies: 2
Views: 909

ah, yes ii had to place the $conn = dbConn() somewhere else.
by PacX
Thu Feb 17, 2005 8:09 am
Forum: Databases
Topic: Invalid mysql_query argument.
Replies: 2
Views: 909

Invalid mysql_query argument.

hey, I got a php script where users can fill in a name in a textbox and the script will search if there are any matches in the database. I use the following function to connect to the database: <?php function dbConn()&#123; $server = "localhost"; $user = "web37"; $password = ...