Write a program to display reverse of any number?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

What are different types of errors available in Php?

0 Answers  


How does php session work?

0 Answers  


Is it more secure to use cookies to transfer session ids?

0 Answers  


How many ways are there for passing variables between pages in PHP and what are they ?

10 Answers  


I have 10 elements of Array, how can i remove 5 array element, with single function.

13 Answers  






Which of the delimiter is ASP style?

0 Answers  


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

0 Answers  


How to create a mysql connection in php?

0 Answers  


How do you get the Browser information?

3 Answers   Life Infotech,


What is session in c#?

0 Answers  


What is htaccess?

1 Answers  


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'); ?> . . . =================================

5 Answers  


Categories