Jump to content

Saiv

New Members
  • Posts

    8
  • Joined

  • Last visited

Saiv's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Shopping cart coding indx.php getting error, Cart Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in E:\wamp\www\cart\index.php on line 39 ----------------------------------------------------------------------------------------------------------------------------- CODE: <div id="side"><h1>Cart</h1> <?php if(isset($_SESSION['cart'])) { $sql="select * from products where id_products IN {"; foreach($_SESSION['cart'] as $id => $value){ $sql .=$id . ","; } $sql =substr($sql,0,-1) . "} ORDER BY id_products ASC"; $query=mysql_query($sql); while($row=mysql_fetch_assoc($query)){ ?> <p><?php echo $row['name']; echo "*". $_SESSION['cart'][$row['id_products']]['quantity']; ?></p> <a href="index.php?page=cart">Go to cart</a> <?php } } else { echo "<p>Your cart is empty.</br> Please add some item</p>"; } ?> </div>
  2. Actually I already having outlook signature, when I added body content in outlook using php, the signature will vanish, y like this?
  3. How to insert a table in the bodycontent of mail to option using PHP ?
  4. Hi, <a href=mailto:abc@gmail.com?body=hai every body&cc=aa@gmail.com&subject=Letter&body=This is the body content>Link</a></td> Here I have already a signature in outlook page, but when I added body in coding it is not displaying . Pleae tell me the solution.
  5. Hi, I am doing shopping cart project , when I run the page getting this error. the paypay payment part I am trying to do. Error : You do not have permissions to make this API call Array( [TIMESTAMP] => 2013%2d09%2d24T08%3a46%3a02Z [CORRELATIONID] => 58910ee2d4893 [ACK] => Failure [VERSION] => 76%2e0 [BUILD] => 7784605 [L_ERRORCODE0] => 10002 [L_SHORTMESSAGE0] => Authentication%2fAuthorization%20Failed [L_LONGMESSAGE0] => You%20do%20not%20have%20permissions%20to%20make%20this%20API%20call [L_SEVERITYCODE0] => Error) cart_update.php config.php config_pay.php index.php paypal.class.php process.php view_cart.php
  6. Yes It is working, Thank you very very much............
  7. CAN YOU PLEASE CHECK THIS CODE, IT IS NOT WORKING.. $today=Date('Y-m-d'); $date = $row[3]; //hosting_renewdate $remainder_date = strtotime ( '-30days' , strtotime ( $date ) ) ; $remainder_date = date ( 'Y-m-d' , $remainder_date ); list($year1,$month1,$date1)=split('[/.-]',$row[3]); $renew_date=$year1."-".$month1."-".$date1; if(($today==$remainder_date) && $today<=$renew_date) echo " <tr bgcolor=yellow><td>$cnt</td><td>$row[0]</td><td>$row[1]</td><td>$hosting_renewdate</td></tr>"; else echo " <tr bgcolor=white><td>$cnt</td><td>$row[0]</td><td>$row[1]</td><td>$hosting_renewdate</td></tr>";
  8. please help , I want the feild highlighted before 1 month till the expiry date.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.