All pastes #281888 Raw Edit

Mine

public php v1 · immutable
#281888 ·published 2006-12-17 03:47 UTC
rendered paste body
<?phpsession_start();require_once('connect.php');?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"><html><head><link rel="stylesheet" type="text/css" href="css.css" charset="UTF-8" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>.::Updating::.</title></head><body><?php// $result = mysql_query("SELECT * FROM `users` WHERE `username`='".$_SESSION['username']."'") or die(mysql_error()); // $data = mysql_fetch_array($result);   $limit = 146; echo '<p>Updating your profile...</p><br />';//for($pid=1;$pid<$limit;$pid++){//$amount = $_POST['p'.$pid];//mysql_query("UPDATE `users` SET `p$pid`='$amount' WHERE `username`='$data['username']'");//}echo '<p>Your profile has been updated. Redirecting...</p>';//header("Location:listsend.php");?></body></html>