How to open url using html or php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to open url using html or php

27th Apr 2018, 6:41 PM
saurav dharwadkar
saurav dharwadkar - avatar
5 Answers
+ 2
In php you can use thr header function that can redirect the user : header("Location: yourwebsite.com");
27th Apr 2018, 7:34 PM
Lil Pepe
Lil Pepe - avatar
+ 1
no at the php inside script
27th Apr 2018, 6:55 PM
saurav dharwadkar
saurav dharwadkar - avatar
0
I can't understand you so i think you can use <a> for example <a href="www.sololearn.com"> this is what i have understood
27th Apr 2018, 6:54 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
0
Oh, sorry i understood now i will search about that
27th Apr 2018, 6:57 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
0
if it is in variable
27th Apr 2018, 7:35 PM
saurav dharwadkar
saurav dharwadkar - avatar