What happens if an expected input field was not submitted?
No Answer is Posted For this Question
Be the First to Post Answer
What is regular expression in php?
can anyone tel me about the Expression engine Note:Its a CMS in Php
Name some of the popular frameworks in php.
i start a new session with : session_start(); then i set some session variable like this : $_SESSION['name']=$_POST['name'];\ and some another variables. at bottom of page i set header to diffrent page : header('location: index.php'); exit(); now in new page (index.php i can't access to my session variables, like $_SESSION['name']) what's wrong ? thanks. here is my files : a.php ======================================== session_start(); require ('config.inc.php'); if(isset($_POST)) foreach($_POST as $v=>$k) { $items[$v]=$k; } $sql="SELECT * FROM members WHERE username='{$items['user']}' AND pass=MD5('{$items['Password']}') "; $res=mysql_query($sql); $row=mysql_fetch_assoc($res); if($row['username']) { $_SESSION['type']=$row['type']; $_SESSION['name']=$row['name']; $_SESSION['family']=$row['family']; $_SESSION['username']=$row['username']; $_SESSION['date']=$row['date']; } header('location: admin.php'); exit(); ====================================== admin.php ===================================== <?php session_start(); if(!isset($_SESSION['admin'])) { header('location: index.php'); exit(); } require ('config.inc.php'); ?> . . . =================================
hi, i have knowledge about PHP/MYSQL,i am fresher M.Sc-IT 2009 pass out,any recruitment in PHP please let me know.
i am a 3yr diploma holder(CSE) from bangalore and i got job as php developer.. starting 7.5k... but i dont know what is the future carreer scop for diploma holders(for me)...plz help
Write a program to swap two numbers using php.
Is php front end or back end?
How can MYSQL functions be available with PHP?
Is c similar to php?
How we can convert dynamic url into static url? plz provide code.
How is the ternary conditional operator used in php?