F5F Stay Refreshed Software General Software Link to Database field added.

Link to Database field added.

Link to Database field added.

W
wiw
Member
223
08-21-2023, 05:54 AM
#1
Hey guys,
I'm setting up a Knowledge Base website and need to display URLs as clickable links in the browser. I have some code, but I'm unsure how to properly add "a href" without encountering errors. Any guidance would be greatly appreciated.
W
wiw
08-21-2023, 05:54 AM #1

Hey guys,
I'm setting up a Knowledge Base website and need to display URLs as clickable links in the browser. I have some code, but I'm unsure how to properly add "a href" without encountering errors. Any guidance would be greatly appreciated.

A
Areeend
Member
142
09-08-2023, 11:38 PM
#2
Which database are you working with?
What data type is being applied to the URL field?
What specific error codes appear when "error out" is displayed?
A
Areeend
09-08-2023, 11:38 PM #2

Which database are you working with?
What data type is being applied to the URL field?
What specific error codes appear when "error out" is displayed?

R
RMUMAURICE777
Senior Member
375
09-10-2023, 06:52 PM
#3
Database - MySQL
Field - varchar
The error is a syntax mistake from the editor. I have attempted different methods to insert the a href tag but have not succeeded.
R
RMUMAURICE777
09-10-2023, 06:52 PM #3

Database - MySQL
Field - varchar
The error is a syntax mistake from the editor. I have attempted different methods to insert the a href tag but have not succeeded.

1
111carys111
Posting Freak
832
09-10-2023, 10:21 PM
#4
Here are some examples.
You can see different methods and the errors they produce.
1
111carys111
09-10-2023, 10:21 PM #4

Here are some examples.
You can see different methods and the errors they produce.

B
benman2004
Junior Member
15
09-10-2023, 11:07 PM
#5
There is a syntax issue in the first code snippet, causing an unexpected T_String. The second part references a missing closing quote. The HTML in the third example is also improperly formatted.
B
benman2004
09-10-2023, 11:07 PM #5

There is a syntax issue in the first code snippet, causing an unexpected T_String. The second part references a missing closing quote. The HTML in the third example is also improperly formatted.

D
Dudy03
Junior Member
36
09-11-2023, 05:56 AM
#6
Not certain about the exact details of the solution but I notice some points that prompt questions. The distinction between the two examples hinges on the removal of edit and double quote before <a - correct? Should there be another double quote missing? What unexpected '<' might appear? Table format with 6 fields wide: Hardware/Software, Platform, Application, Issue, Solution, Date. Syntax errors only for 'Issue' – correct? What are the actual characters stored in the 'Issue' field? Datatype is VARCHAR. Also, regarding the "While" in Post #1 – should there be a </tr>?
D
Dudy03
09-11-2023, 05:56 AM #6

Not certain about the exact details of the solution but I notice some points that prompt questions. The distinction between the two examples hinges on the removal of edit and double quote before <a - correct? Should there be another double quote missing? What unexpected '<' might appear? Table format with 6 fields wide: Hardware/Software, Platform, Application, Issue, Solution, Date. Syntax errors only for 'Issue' – correct? What are the actual characters stored in the 'Issue' field? Datatype is VARCHAR. Also, regarding the "While" in Post #1 – should there be a </tr>?