I have a PHP file that is a frameset. It uses an if statement to generate the top header and the frameset all in one file. The frameset uses src="<?= $PHP_SELF ?>?goal=top" for the top frame. If goal does not equal top, then it writes the frameset. If goal does equal top, then it writes the...
I have a top frame template renderer. The page that will be the frame's source uses PHP to send variables that the user sets, such as the back to URL and name. I use require to pull in the template, and it uses the variables that are defined at the top of the page.
However, is there a way...
The database is updated through a webform using php. If a url is not entered for the title, then the link becomes the webroot, which is the index page, thus causing a refresh is clicked. How can I edit the code to only have the a tag apply if the url field is not empty.
-----
<div...