Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for weirdCreature7

Hello there! I just want to know how to check if session variable is array because thee code that I am trying to work is not working see below :) <?php if(is_array($_SESSION['cart'])){ echo '<tr bgcolor="#FFFFFF" style="font-weight:bold"><td>Serial</td><td>Name</td><td>Price</td><td>Qty</td><td>Amount</td><td>Options</td></tr>'; $max=count($_SESSION['cart']); for($i=0;$i<$max;$i++){ $pid=$_SESSION['cart'][$i]['productid']; $q=$_SESSION['cart'][$i]['qty']; $pname=get_product_name($pid); if($q==0) continue; ?>

Member Avatar for diafol
0
508
Member Avatar for weirdCreature7

I have the following codes, I wanted to show a message box when the value in month (in the textbox) is less than the value of $month (date("n")), when the next button is clicked. When I run my code, the next button disappears! Please help me to solve my problem. …

Member Avatar for hr.Ziggurat
0
212
Member Avatar for weirdCreature7

Pls. help me with this code :) the alert box is not appearing and it goes directly to homebody_admin.php I want the homebody_admin.php to appear after I click the ok button on alert box pls help. Your help is highly appreaciated! thanks in advance :) if($password!= mysql_result($result, 0)) { echo …

Member Avatar for weirdCreature7
0
176
Member Avatar for weirdCreature7

A newbie here I am having an error with this code. If I logged in with correct username and password the "Sorry please log in" is appearing not the home page :( I am having a hard time to check if the user has log in or not when opening …

Member Avatar for diafol
0
170
Member Avatar for weirdCreature7

Please help im a super beginner in php and I am doing this for my homework :) I just want to add a code that will Deny Access if password is wrong 3 times and the code for my alert box which is the Incorrect username and password is not …

Member Avatar for devianleong
0
298