Hi everyone,
I have a table where i can store all mine links. When i am asking to show all of these links on my page, i get all of them to see.
But when i am clicking on the links , i cant go to that website. How should i handle this problem?
Here is the code , i use:
<%
db.DBConnectie data = new db.DBConnectie("afghan","fahim","fahim");
data.connect();
String query = "SELECT * FROM LINK Where linkid =2";
ResultSet columns = data.selectQuery(query);
while(columns.next()) {
String linkids = columns.getString("linkid");
String linknaams = columns.getString("linknaam");
String urls = columns.getString("url");
String type = columns.getString("linktype");
%>
......
<td>
<%=linknaams%><br>
<a href="<%=urls%>"><%=urls%></a> </td>
this does not works by click on url
I have a table where i can store all mine links. When i am asking to show all of these links on my page, i get all of them to see.
But when i am clicking on the links , i cant go to that website. How should i handle this problem?
Here is the code , i use:
<%
db.DBConnectie data = new db.DBConnectie("afghan","fahim","fahim");
data.connect();
String query = "SELECT * FROM LINK Where linkid =2";
ResultSet columns = data.selectQuery(query);
while(columns.next()) {
String linkids = columns.getString("linkid");
String linknaams = columns.getString("linknaam");
String urls = columns.getString("url");
String type = columns.getString("linktype");
%>
......
<td>
<%=linknaams%><br>
<a href="<%=urls%>"><%=urls%></a> </td>
this does not works by click on url