• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: If ($_POST doesnt work

If ($_POST doesnt work 10 years 7 months ago #28753

  • modbox1
  • modbox1's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello

What is wrong on this easy code called on form display for a radio group? It doesnt work

if ($_POST == 'vegetables')
{
echo "fruits<br>";
}
if ($_POST == 'fruits')
{
echo "vegetables<br>";

}
The administrator has disabled public write access.

If ($_POST doesnt work 10 years 7 months ago #28761

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Please keep in mind that that you are not using the correct syntax.

Please take a look at these 2 articles regarding PHP Scripts and RSForm!Pro:

http://www.rsjoomla.com/support/documentation/view-article/602-php-scripts.html
http://www.rsjoomla.com/support/documentation/view-article/76-custom-php-code.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!