View Single Post
Old 10-19-2021, 12:46 PM  
zijlstravideo
Confirmed User
 
zijlstravideo's Avatar
 
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
Quote:
Originally Posted by mopek1 View Post
So from the replies it seems I can:

- Use html and parse some php code using htaccess
- Use html and put in some includes (<?php include("headermenu.php"); ?>) where I want the dynamic areas to be.
- php only
- Use html with java

I think I'll stick with html + some php code or some java (which I'll have to learn).
Java is not the same as Javascript. ;)

Htaccess file is used to rewrite the url. So, to turn page.php?id=2 into page-2.html etc.

One final tip, learn to create and use functions. Let's say a simple function for showing an image, else, you might one day end up having to edit 100s of html image codes manually whenever you want to change something (like adding lazyloading or webp support) in the future.
__________________
Contact: email
zijlstravideo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote