No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
<html> <head> <title> Company Login </title> <style> li { display:inline; } </style> </head> </html> <?php session_start(); echo"Welcome ". $_SESSION["cname"]; $cp= $_SESSION["cname"]; $dbhost='localhost'; $dbuser='shitanshu'; $dbpass='123'; $dbname='placment'; $conn=mysql_connect($dbhost,$dbuser,$dbpass); if(! $conn) { die('could not connect'.mysql_error()); } mysql_select_db($dbname); $sql= "SELECT companyname,jobid,profile FROM compnayjob"; $result=mysql_query($sql,$conn); $count=mysql_num_rows($result); ?><table width="400" border="0" cellspacing="1" cellpadding="0"> <tr> <td><form name="form1" method="post" …
// I M trying to redirect to another pager after inserting data into database but its not redirecting...can any one help in this <?php $dbhost='localhost'; $dbuser='shitanshu'; $dbpass='123'; $dbname='placment'; $conn=(@mysql_connect($dbhost,$dbuser,$dbpass)); (@mysql_select_db($dbname)); $ccname=$_POST['ccname']; $ccemail=$_POST['ccemail']; $ccpass=$_POST['ccpass']; $ccrepass=$_POST['ccrepass']; $cccontact=$_POST['cccontact']; $sql="INSERT INTO companyreg (ccname,ccemail,ccpass,ccrepass,cccontact) VALUES('$ccname','$ccemail','$ccpass','$ccrepass','$cccontact')"; $result=mysql_query($sql); if($result!=null) { header("Location:cmenu.php"); } ?>
The End.
shitanshu_1