shivani.shm
Members-
Posts
25 -
Joined
-
Last visited
Never
Everything posted by shivani.shm
-
hi I have a array as follows [20081219] => Array ( [1345002] => Array ( [144] => 20081219 ) [1000001] => Array ( [140] => 20081219 ) ) and i wnt the output after sorting as [20081219] => Array ( [1000001] => Array ( [140] => 20081219 ) [1345002] => Array ( [144] => 20081219 ) ) how can i do tht plz help thanks in advance
-
I am trying to insert a record in a table and got this error 139 from storage engine. Can anyone comment on this to resolve this issue.
-
oh ya thks a lot tht was the problem............u r a genious
-
its done still nt working
-
i have done session_start() at the start of the script and in the login page i m geting the session variables and also geting the session id in the next page but print_r($_SESSION) returns empty in the next page
-
hi all i m geting a strange problem ...my session variables are lost when redirecting the page and it has come all of a sudden as the same code was wrking fine ... and i m unable to retify the problem.....i m doing somethg like this session_start(); $_SESSION['USERNAME'] = $sUsername; $_SESSION['EMPLOYEEID'] = $aEmployee["employee_id"]; $_SESSION['POSTID'] = $aEmployee["post_id"]; $_SESSION['EMPLOYEENAME'] = $aEmployee["person_name_last"].", ".$aEmployee["person_name_first"]." ".$aEmployee["person_name_others"]; $_SESSION['EMPDIVISION'] = $aEmployee["company_division_id"]; when i try to print this array in another page i m geting the array empty can anyone plz tell me the why this is happening ....i m using firefox browser.....does any seting of firefox has to be changed......plz suggest thanks in advance
-
It will great help if someone could explain wht are design patterns in php
-
i have been using AJAX but i m not using any form tag in html is the form tag required....or wht are the disadvantage of not using form tag.....
-
where are this frameworks been used...
-
I have a html page but i m not using any form tag wht are the disadvantage of not using the form tag.... i m using AJAX to refer the php file and interact with the database.....
-
thks for the reply i thk tht clears my doubt.........
-
I need some help in PHP frameworks .....how and where they are used...
-
thanks your code is wrking ... but is this the only way... is there any build in function which will directly output me 10.66 if i give 10.667 as the input... i m not interested in rounding the number just wnt it upto two decimal places.... thanks in advance....
-
I have a number as $num = '10.667' and i wnt the output as 10.66 . I tried using sprintf it gives me the output as 10.67 can anyone tell me how to do it.. thanks in advance.....
-
hi I have created a table structure and used engine type as Innodb but the defaukt is taken as myisam and bcoz of tht i can't use referential integrity... My mysql version is 4.0.15. plz help out thanks in advance...
-
Is there a limit to pass variables through GET method.
-
I have Preprinted Paper similar to a invoice...on which i have to print the details like the products purchased. can i get some idea how to do it. thanks in advance.
-
i have a problem when running my transaction...it gives a lock timeout.....
-
it does not echo u "Ok".
-
just try this $player_id=$_POST["id"]; with your id in double quotes.
-
if your values are in a array use asort(your array in here) and sort the array and the last one will be your max value just use print_r the array and chk the results...
-
check this out u can't assign echo to some variable <?php $page = basename($_SERVER['QUERY_STRING']); include('includes/header.php'); $content = ""; $content .= "<table width='1024' border='0' cellspacing='0' cellpadding='0'><tr><td width='150'>"; $content .= include('includes/nav.php'); $content .= "</td><td width='12'> </td><td width='700'>"; if(!$page){ $content .= include('pages/main.php'); } else { if (file_exists('pages/'.$page.'.php')){ $content .= include('pages/'.$page.'.php'); } else { $content .= 'This page does not exist!'; } } $content .="</td><td width='162'> </td></tr></table>"; print $content; include('includes/footer.php'); ?>
-
Hi, how do i check if a textbox in a form is filled ?
shivani.shm replied to jd2007's topic in PHP Coding Help
strlen($_POST[filedname] == 0) thn its empty otherwise not