php form help

Posted on 16th Feb 2014 01:33 pm by admin


I use a control file to set my meta tags and titles

Here's an example
Code: <?php
switch ($sheet_name) {
case 'page-2'://The page that has $sheet_name equal to the case value, this is the link to tell the page what info to use
$page_id = "2";//Standard Page ID
$page_location = "home";//Multi Purpose control, Adds Menus, forms or whatever you create.
//Header Controls
$level_value = "inc";//Used for Path to Stylesheets and Scripts
$title = "About Us";//Title of Page
$meta_desc = "About Us";//Description of Page
$meta_key = "About Us";//Keywords of Page
//Add Different Elements
$content_area = "true";

I want to eliminate the need to open this control.php file, I want to use a form to update the case variables.

Any suggestions? Little bit lost on where I should start since I have only posted to a database.

Reason for doing this, everything else is done through an admin panel except this one file and I would like to integrate it with the admin area to eliminate the need to open any files.

** side note, this is a template site I built, and does not use a database, crucial for the market im in

No comments posted yet

Your Answer:

Login to answer
132 Like 26 Dislike
Previous forums Next forums
Other forums

Breitling K56121 Emergency Series Mens Bracelet Watch - $203.00 : replica breitling watches,
fake breitling watches for sale
fake breitling watches for men

Günstige Replica Techno Uhren zum Verkauf Kostenloser Versand
[b][url=]Tag Heuer Uhren[/url][/b] [b]Tag Heuer Uhren[/b] Cartier Uhren | R

longines bellearti
[b][url=]replica longines watches[/url][/b] [b][url=http://www

high quality replica watches for women
[b]cheap swiss replica watches[/b] [b][url=]best replica watches[/url][/b]

Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a sma

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS