php form help
Posted on
16th Feb 2014 07:03 pm by
admin
Hey,
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";
break;
}
?>
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
Your Answer:
Login to answer
132
26
Other forums
Count
Getting the same count everytime
Code:
$visitquery = mysql_query("SELECT COUNT(*) FR
foreach iterator
Hi Guys
Does the foreach loop have an inbuilt iterator ?
Sorting JTable on more than just the values listed in the columns
I have a collection of objects that store (among other things) two integer values. I only want to di
Add "width" check when upload
Hi!
Can someone add a function that is checking if picture witdh is bigger then 800px whwn up
Page Reload
I am having issues getting a page to reload after I submit data to a database. This form should inp
MFC GUI Programming
I am working on a project right now that requires me to create a MFC Windows GUI. Basically it need
Php - mysql store data and use it later?
Hi, i' making a login page at the moment, however my username + password is stored many different pl
echo $rows help
Hi all,
Hopefully something simple that I don't know!
I have this:
Code: [Selec
CURL question
i am wondering if it's possible to use multi curl with login something like
login once to web
Reading Most Recent CSV File in Directory
I thought I had wrapped this project up, but found out that the program I use to FTP a csv file to m