CodeIgniter Forums

Full Version: form_open problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Mitja[/eluser]
Code:
<?= form_open('admin/arrangements_edit/1');?>

instead of 1 i try to use $id

Code:
$id = $this->uri->segment(3);
echo form_open('admin/arrangements_edit/"'.$id.'"');

but this not working, number is not show.

El Forum

[eluser]Michael Wales[/eluser]
Code:
$id = $this->uri->segment(3);
echo form_open('admin/arrangements_edit/' .$id);

Your quotations were really messed up...