Connect $ row-> Name to link

Codes here !

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Apr 23, 2020 3:01 am

Thu Apr 23, 2020 4:18 am

I am creating a search bar, I have created the contents: description, id, name and link. Now I should link each article I searched for to a link but I don't know how to do it, I tried the following code but then a syntax error comes:`enter
Do you think of something that can connect the row-> Name to the link (so that makes the name clickable and would lead to the link page assigned by the database? I leave you the link of the code and the photo of the mysql tables

Link code:
link image database contents : https:
link image database contents of table:

this is the link of the page where is the searchbar

Please help me! I need you!😥
User avatar
php-forum GURU
php-forum GURU
Posts: 1191
Joined: Mon Feb 22, 2016 5:52 pm

Thu Apr 23, 2020 9:39 am

Use a standard

Code: Select all

<a href=..>Link</a>
Post Reply