January 1, 201313 yr Hello, not sure where to put this really but... Im making a cms and i want a submit button to link to a website. This is the php: <form action='$link'> <input class='havealook' type='button' name='link' value='Have A Look' /> </form> $link is declared above this as: $link = $row['link'] Any idea why its not loading a new page, its just litrally doing nothing when clicked. Edit: Just read that you cant link to external URL from form action. Time to style a link -.- Edited January 1, 201313 yr by Lovelock
Create an account or sign in to comment