close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Master/Details page

Thread began 7/10/2017 9:05 am by Leon | Last modified 7/12/2017 12:08 pm by Leon | 691 views | 4 replies


Thank you very much. I have added the filter by URL in the details page to match URL param in the master page to "mission_id"(unique identifier) per your advice and it has worked.

master link:
<li><a href="details2.php?mission_id=<?php echo($master2Recordset1->getColumnVal("mission_id")); ?>"><?php echo($master2Recordset1->getColumnVal("project_name")); ?></a></li>

so the master page stays the same as previous step and the details page recordset reflects the filterby option in the Where statement. Correct?

<?php require_once('Connections/mitoWebsiteMSQLI.php'); ?>
<?php require_once('webassist/mysqli/rsobj.php'); ?>
$details2Recordset1 = new WA_MySQLi_RS("details2Recordset1",$mitoWebsiteMSQLI,1);
$details2Recordset1->setQuery("SELECT * FROM completedProjects WHERE mission_id = ? ORDER BY project_name ASC");
$details2Recordset1->bindParam("i", "".(isset($_GET['mission_id'])?$_GET['mission_id']:"") ."", "-1"); //colname
<!doctype html>
<meta charset="utf-8">
<title>Untitled Document</title>

<li><?php echo($details2Recordset1->getColumnVal("client_name")); ?></li>
<li><?php echo($details2Recordset1->getColumnVal("project_name")); ?></li>

See image. Also can use(just for my reference)

Thanks for you help again Jason

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...