• 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: Problem with dropdowns box

Problem with dropdowns box 12 years 3 months ago #16121

I create a simple form named renew
  1. a dropdown box named membres
  2. a textbox named greeting

I want to update a row table = dropdown selection with the content of the textbox.
To do that I write the code in the PHP script

//<code>

$id = $_POST[0] ;

$db = JFactory::getDBO();
$db->setQuery("UPDATE #__helloworld SET greeting = '".$_POST."' WHERE id = '".$id."' ");
$db->query();

//</code>

The table isn't updated and there is no error message .

I certainly make a mistake somewhere but I'am discovering RSForm .

Thks for your help.
Last Edit: 12 years 3 months ago by claude.peyneau.
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!