diff options
Diffstat (limited to 'user_guide/helpers/form_helper.html')
-rw-r--r-- | user_guide/helpers/form_helper.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index 5e556dca2..3f1e87a27 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -84,7 +84,7 @@ in the event your URLs ever change.</p> <p>The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:</p>
-<code><form method="post" action="http:/www.your-site.com/index.php/email/send" /></code>
+<code><form method="post" action="http:/example.com/index.php/email/send" /></code>
<h4>Adding Attributes</h4>
@@ -97,7 +97,7 @@ echo form_open('email/send', $attributes);</code> <p>The above example would create a form similar to this:</p>
-<code><form method="post" action="http:/www.your-site.com/index.php/email/send" class="email" id="myform" /></code>
+<code><form method="post" action="http:/example.com/index.php/email/send" class="email" id="myform" /></code>
<h4>Adding Hidden Input Fields</h4>
@@ -110,7 +110,7 @@ echo form_open('email/send', '', $hidden);</code> <p>The above example would create a form similar to this:</p>
-<code><form method="post" action="http:/www.your-site.com/index.php/email/send"><br />
+<code><form method="post" action="http:/example.com/index.php/email/send"><br />
<input type="hidden" name="username" value="Joe" /><br />
<input type="hidden" name="member_id" value="234" /></code>
@@ -134,7 +134,7 @@ which is necessary if you would like to use the form to upload files with.</p> <code>$data = array(<br />
'name' => 'John Doe',<br />
'email' => 'john@example.com',<br />
- 'url' => 'http://www.example.com'<br />
+ 'url' => 'http://example.com'<br />
);<br />
<br />
echo form_hidden($data);<br />
@@ -142,7 +142,7 @@ echo form_hidden($data);<br /> // Would produce:<br /><br />
<input type="hidden" name="name" value="John Doe" /><br />
<input type="hidden" name="email" value="john@example.com" /><br />
-<input type="hidden" name="url" value="http://www.example.com" /></code>
+<input type="hidden" name="url" value="http://example.com" /></code>
|