Trouble display complete string in table
Below is a cut down of some code that I am having problems with. I store into the variable --- Title1 = "begin the path". But when I display it in my table it only display "Begin". Not the whole variable. What do I need to do to display the whole string. Thanks in advance - Brendon
<%@ Language="vbscript" %>
<%Option Explicit%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles.css" >
</head>
<body>
<%
dim ISBN1
dim Title1
dim Price1
dim Date1
Private Sub displayAllBooksArray(v_recordnumber)
Title1 = "begin the path"
end sub
if request.Form("TITLE") = "" THEN
displayAllBooksArray(-97)
%>
<form name = "myform" method="post" action="book.asp" runat="server">
<table width="70%" cellpadding="0" cellspacing="0" border="1" cols="5" align="center" ID="Table1">
<tr>
<td colspan="5" align="center" class="setheaderfont">
</br>
Big Books book shop
<br></br>
</tr>
<tr>
<td class="sectionbgcolor"><b>ISBN</b></td>
<td class="sectionbgcolor"><b>TITLE</b></td>
<td class="sectionbgcolor"><b>PRICE</b></td>
<td class="sectionbgcolor"><b>DATE PUBLISHED</b></td>
<td class="sectionbgcolor"></td>
</tr>
<tr>
<td class="sectionbgcolor1"><input type="text" name="ISBN" ID="Text1" value=<% = ISBN1 %>></td>
<td class="sectionbgcolor1"><input type="text" name="TITLE" ID="Text2" value=<% = TITLE1 %>></td>
<td class="sectionbgcolor1"><input type="text" name="PRICE" ID="Text3" value=<% = PRICE1 %>></td>
<td class="sectionbgcolor1"><input type="text" name="DATE_PUBLISHED" ID="Text4" value=<% = DATE1 %>></td>
</tr>
</table>
</form>
<% end if %>
</body>
</html>
|