Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats wrong with my PHP code?

0
10 Posted

Whats wrong with my PHP code?

0
10

In your HTML where you are trying to print the value of $snew in the checkbox, you don’t need the PHP tags because the PHP script is already open. Because you are using single quotes you need to unquote and join the variable using a period. Also where you are trying to output the list of items in the cart, you haven’t accounted for when the the value of num isn’t returned (empty basket) which is why there were error messages at the bottom. Your script should now read:

RANDOM IMAGES

‘; for($y=$x*3; $y<(($x+1)*3) ; $y++) { echo '
‘; $s = $imag

Related Questions

  • How many programming languages for computers are currently in use?
  • How do I use custom made shapes on photoshop?
  • How do I unfreeze Windows 7 computer?
  • What is your question?

    *Sadly, we had to bring back ads too. Hopefully more targeted.

    Experts123