<div class="navigation-bar" style="margin:1em 30%;">
<form action="" method="POST" style="display:inline;">
<input type="submit" value="Hello World" name="about" class="btn">
</form>
<form action="" method="POST" style="display:inline;">
<input type="submit" value="How Are You" name="how" class="btn">
</form>
<form action="" method="POST" style="display:inline;">
<button type="submit" value="How Are You" name="home" class="btn"> Home </button>
</form>
</div>
<br>
<?php
if (isset($_POST["about"]))
{
echo "Hello World";
};
if (isset($_POST["how"]))
{
echo "hello world How are you today";
};
if (isset($_POST["home"])) {
include "ifelse.php";
}
?>
All muhaza's note in developing website. Front-end & uiux method. Real life implementation for webdesigner.
Sunday, 23 September 2018
PHP navbar using if condition & form to view content
email mailto: pretext
<a href="mailto:designoutsourced.com+info@gmail.com?subject=Maklumat%20lanjut%20pakej&body=Hai,%20saya%20berminat%20tahu%20lebi...
-
Looking at vue-cli repository I see two different ways of scaffolding vue projects. The v3 (beta) version, installed as npm install ...
-
component need at least this 3 component file 1. customers.component.ts import { Component , OnInit } from '@angular/core...