Difference between revisions of "6CS028 Workshop - Web Frameworks"

From mi-linux
Jump to navigationJump to search
Line 8: Line 8:
 
You will need a MySQL database - more information [[MySQL|here]].
 
You will need a MySQL database - more information [[MySQL|here]].
  
=== Hyperlink ===
+
=== Hyperlinks ===
 
Every time the tutorial incudes an HTML link with a path, for example:
 
Every time the tutorial incudes an HTML link with a path, for example:
 
<pre>
 
<pre>

Revision as of 15:50, 21 January 2022

Main Page >> Advanced Web Development >> Workbook >> Week 02

Tutorial parts 2 and 3

Please work through parts 2 and 3 of the tuturial:

You will need a MySQL database - more information here.

Hyperlinks

Every time the tutorial incudes an HTML link with a path, for example:

<form action="/news/create" method="post">
<a href="/news/">

You need to prefix the path with your base URL, using the helper as per like week:

<form action="/news/create" method="post">
<a href="/news/">

So for the above:

<form action="<?=site_url()?>/news/create" method="post">
<a href="<?=site_url()?>/news/">