I have a simple online database that I am trying to tweek. The project has an event name (Field1) and a website address (Field2). I’m trying to create an active link for the text in Field 1 with the URL data collected in Field 2. The resulting data would be displayed in our records display. Help needed.
Moving to a more appropriate forum.
What have you tried so far?
<td nowrap data-search="<?php echo $event ; ?>"><em><?php echo $event ; ?></em></td>
<td nowrap data-search="<?php echo $website ; ?>"><em><a target="_blank" href="<?php echo $website ; ?>"><?php echo $event ; ?></a></em></td>
This worked for the records that were already in the DB, but for some reason new records are no longer populating.
Okay, if you are pulling from a database, that means there are field names from the query OR are you reassigning variables to those variables?
There should also be a loop involved, unless you are pulling a single value?
Obviously I am not a coder, but I think I understand what you mean. Thanks.
I echoed the name the web address field and created an active link the website and another one to create an email. That saved me a lot of space on my screen. Thanks again, for your help.