Saturday, May 31, 2008

SELECT id FROM logs WHERE start = $dtime - user = $user

What is wrong with this line? I m trying to ensure I get the right id by requiring two matches from the logs table. I want to match a timestamp from start and the username from user .
Thanks-
cmetcjr

Hi- if I encounter an error in the following PHP statement:

$connection = mysql_connect($host-$user-$password)
or die (mysql_errno($link) . ": " . mysql_error($link). "\n");

Although it can display the error messages to the webpage- I want all error messages to be written to a log file instead of displaying them directly to the client.

So I would to like if MySQL automatically logs all these error messages to a log file? If yes- could you please tell me where it is located?

If no- does this mean that I need to write these error messages to a text file manually?

Thank you very much for your help.

What would be the basic command to have sql grab the value of a html textbox.

example.....
<input type="text" name="uname" id="username">


What would be the SQL code to obtain the value of this textbox. ?
This isnt homework lol- just a personal web page i am creating

i have been searching for hours anyone know a free easy to understand oracle 10g tutorial? i am migrating from mysql.

thanks

for example can I have a MySQL db about 1GB and still works good?

No comments: