No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
you have created your table correctly.now you want to input records into that table.first ill tell you the concept of login,logout and register processes. when a user tries to login to your site you must check that there is a match with the database data and the user input data.if …
[code=php]// browser detection $is_lynx = $is_gecko = $is_winIE = $is_macIE = $is_opera = $is_NS4 = $is_safari = $is_chrome = false; if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx') !== false) { $is_lynx = true; $a="lynx"; } elseif ( strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'chrome') !== false ) { $is_chrome = true; $a="chrome"; } elseif ( strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') !== false …
hello everyone, im using php 5.2.6 , apache 2.2.10 and mysql 5 for my server.everything works fine excepts sessions.i have configure the php.ini file for sessions.but still its not working.im using windows platform.can anyone help me to settle this?
//this is your main page [code=html]<html> <body> <form action="test.php" method="post"> <input type="submit"> </form> </body> </html>[/code] //test.php code goes here [code=php]<?php mysql_connect("your_server_name","your_user_name","your_password") or die("could not connect to the database"); mysql_select_db("your_database_name") or die("database not exists"); mysql_query("UPDATE Users SET groupid = 'P' WHERE userid = '$id' ") or die("can not execute the query"); …
The End.
anuspan