Jump to content

Supervan

Members
  • Posts

    52
  • Joined

  • Last visited

Supervan's Achievements

Member

Member (2/5)

0

Reputation

  1. Thank you. It worked
  2. Hi, I need to dump php / html output of a single page to "Swifmailer" I was prevouisly using the $MesBody = <<<ENDFF1 ..... php generated text ENDFF1; Any other recomodations.
  3. Thank you all for responding
  4. Thank you... will try...
  5. Hi, I’m using PHP OOP and created an instance of the class and stored the content inside a $_SESSION['cart'] 1... I can validate, if “prid” exists in the session with this …. How would i check for "prid" and "prflavour" Mango ? if (isset($_SESSION['cart'][12])) 2... I need to update the quantity when both conditions "prid" and "prflavour" are met. how do i change this $_SESSION['cart'][$_GET['prid']]-> to work with prid and prflavour $_SESSION['cart'][$_GET['prid']]->updateQuantity(123) sample of the $_SESSION['cart'] Array ( [13] => Item Object ( [prid:protected] => 13 [prname:protected] => Meal [prflavour:protected] => Mango [prqty:protected] => 10 ) [12] => Item Object ( [prid:protected] => 12 [prname:protected] => Milk [prflavour:protected] => [prqty:protected] => 123 ) )
×
×
  • 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.