Data Binding Problem

E

Erik Setzer

I'm trying to pass info from data binding to a PHP script through a
link. Here's the code right now:

<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>Textbooks</title>
<object id = "Textbooks" classid =
"CLSID:333C7BC4-460F-11D0-BC04-0080C7055A83">
<param name = "DataURL" value = "textbooks.txt" />
<param name = "UseHeader" value = "TRUE" />
<param name = "TextQualifier" value = "@" />
<param name = "FieldDelim" value = "|" />
</object>
</head>

<body style = "background-color: darkseagreen">

<table datasrc = "#Textbooks">

<thead>
<tr>
<th>Select a textbook</th>
</tr>
</thead>

<tbody>
<tr>
<td>
<a href="displaybook.php?title=<span datafld =
'Title'></span>&isbn=<span datafld = 'ISBN'></span>&author=<span
datafld = 'Author'></span>&price=<span datafld =
'Price'></span>"><span datafld = 'Title'></span></a>
</td>
</tr>
</tbody>

</table>


Can anyone suggest a way to send the data (Title, ISBN, Author, Price)
to the PHP script when the user clicks on the Title?
-Erik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top