I have created a website with a database that works as planned, but I want to create a field that can hold a link inside the database. Some tips about how I can do it?
Thanks in advance!
I have created a website with a database that works as planned, but I want to create a field that can hold a link inside the database. Some tips about how I can do it?
Thanks in advance!
I would store the link in a field of type text
. However, you could use VARCHAR
. There may be performance improvements in choosing to go with VARCHAR
over text
. See here for more info: MySQL: Large VARCHAR vs. TEXT?