Jump to content

PHP Print Button not working


Grafiti4u

Recommended Posts

Hi - I designed a regular website using html.  One page I used was on the previous site, and it had links to a database.  Its for an online wedding registry.  Problem is, on the page that pulls up with the couples list of wish list items, there is a "Print the Bliss List" link that is not working, right below the list.  It is just seen as text on the page, not a button element.  Can you look at the code and see why this isn't working or what I can do to fix it?  I use Dreamweaver CS5 and am familiar with working in html, and css code, but not php.  Here is the link to the page in question:

 

http://getinteriormotivated.com/bridal-bliss2.php?id=03313

 

thanks so much!

 

Link to comment
Share on other sites

This is not a PHP issue (because PHP runs on the server, it makes no sense unless you wanted to print to something directly connected to the server).

 

This is the element in your page's source code:

<a class="printBtn">Print the Bliss List</a>

There is no href attribute, so it's not going to show as anything but text, and it's not going to do anything when it's clicked.

 

I'm guessing that there is supposed to be some JavaScript on your page that turns elements with the printBtn class into an actual button, and initiates the print process on clicking it. In fact, it probably combines with the "printable" class  to which the div containing the important content belongs:

<div class="printable">
Edited by boompa
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.