close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form Links

Thread began 12/16/2009 9:27 pm by jdwoods13661 | Last modified 12/22/2009 6:23 pm by Jimmy Wu | 834 views | 5 replies |

jdwoods13661

Form Links

Using PHP, ON a results page the email addresses are not " hot" linked. I figured out how to make websites links work..

Using CS3 - what php code works - mailto: ????

Sign in to reply to this post

Eric Mittman

Making a mailto link with php code is no different than a regular mailto link. You just need to start the href attribute out with a mailto:, if the column from your db is returning an email address then the link might look like this:

php:
<a href="mailto:<?php echo $row_yourRS['your column'?>"><?php echo $row_yourRS['your column'?></a>
Sign in to reply to this post

jdwoods13661

thanks Eric

Sign in to reply to this post

Eric Mittman

Your welcome. This type of dynamic html using the php can be a little tricky when you have not used it before but with a little practice it will become second nature to make use of the php and html together to achieve your result.

Sign in to reply to this post

karen.marley367377

Creating a Link from an Insert PHP Page to an Update Page`

I have an insert page. On pressing the submit button I want the page to go to the related update page.

Below is the code for the url direct:
$WA_redirectURL = "properties_Detail.php?MainPropertiesID=".$row_WADAproperties['MainPropertiesID'];

When I fill in the form and select submit however, to goes to the update record for the FIRST record in the database!

Any ideas on what I am doing wrong?

Many thanks and regards,

Sign in to reply to this post

Jimmy Wu

Are there any redirects further up on the page? If there are, you should set those to blank so they wont forward to anywhere before getting to that redirect code.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...