Search found 3 matches

by atari900
Fri Jul 25, 2003 3:51 pm
Forum: PHP - Code
Topic: Parse error: parse error, unexpected T_STRING on line 27
Replies: 4
Views: 354

what are you using for your mysql_connect code? just try something like $dblink = mysql_connect("localhost", "username", "password"); $db = mysql_select_db("database_name", $dblink); $result = mysql_query("SELECT * FROM table", $dblink); while ($myro...
by atari900
Fri Jul 25, 2003 3:31 pm
Forum: PHP - Code
Topic: Can someone maybe help me out?
Replies: 1
Views: 230

You can use get_browser() to get the javascript information. http://us2.php.net/function.get-browser You can also check and see if people have cookie capable browsers, but the only way I know of to check if they are actually enabled is to use set_cookie() and then reload the page and check for a val...
by atari900
Fri Jul 25, 2003 3:22 pm
Forum: PHP - Code
Topic: Parse error: parse error, unexpected T_STRING on line 27
Replies: 4
Views: 354

Personally I find the mysql_fetch_array function to be a little easier. It takes the results from a mysql query and puts them into an array which can the be accessed by using the column name as the array index. example $myrow['username'] you could try something like this to print the information fro...