pop up form
i want to make a button if i clicked on this button a pop up form appears and enter any data like my name and submit it to the first page and get the data from it using PHP how can i do that ????
User Profile
Collapse
Profile Sidebar
Collapse
setovan
Last Activity: Nov 28 '12, 09:10 PM
Joined: Nov 28 '12
Location:
-
setovan started a topic how to set initial value for $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']in PHPhow to set initial value for $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']
if i run this code the pop up window appear but i don't want this window appears at the begining of the session i want to appear if the user clicked the button so how can i do it ?
...Code:<?php $PHP_AUTH_USER = @$_SERVER['PHP_AUTH_USER']; function authenticate() { header('WWW-Authenticate: Basic realm="Test Authentication System"'); header('HTTP/1.0 401 Unauthorized'); echo "You must -
Warning: Cannot modify header information - headers already sent by..
this warning appears when i send a header how can i fix it ?
...Code:<?php $con=mysql_connect("localhost","root","admin"); mysql_query("set character_set_server='utf8'"); mysql_query("set names 'utf8'"); if(!$con) { die('couldnot connect:'); } mysql_select_db("santirino",$con); @$user_id = $_POST['ID']; -
appear time onclick a button and save the time in a database
i want to make a button in an attendance table when the user click on this button the current time appears as a departure time for customer and how to save this time in my database. here's my code.
...Code:<?php $con=mysql_connect("localhost","root","admin"); mysql_query("set character_set_server='utf8'"); mysql_query("set names 'utf8'"); if(!$con) { die('couldnotLast edited by Rabbit; Nov 28 '12, 02:39 AM.
No activity results to display
Show More
Leave a comment: