From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001
From: Derek Jones
The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:
-<form method="post" action="http:/www.your-site.com/index.php/email/send" />
+<form method="post" action="http:/example.com/index.php/email/send" />
The above example would create a form similar to this:
-<form method="post" action="http:/www.your-site.com/index.php/email/send" class="email" id="myform" />
+<form method="post" action="http:/example.com/index.php/email/send" class="email" id="myform" />
The above example would create a form similar to this:
-<form method="post" action="http:/www.your-site.com/index.php/email/send">
+<form method="post" action="http:/example.com/index.php/email/send">
<input type="hidden" name="username" value="Joe" />
<input type="hidden" name="member_id" value="234" />
@@ -134,7 +134,7 @@ which is necessary if you would like to use the form to upload files with.
$data = array(
'name' => 'John Doe',
'email' => 'john@example.com',
- 'url' => 'http://www.example.com'
+ 'url' => 'http://example.com'
);
echo form_hidden($data);
@@ -142,7 +142,7 @@ echo form_hidden($data);
// Would produce:
<input type="hidden" name="name" value="John Doe" />
<input type="hidden" name="email" value="john@example.com" />
-<input type="hidden" name="url" value="http://www.example.com" />
+<input type="hidden" name="url" value="http://example.com" />
--
cgit v1.2.3-24-g4f1b