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
Multithreading design
Hi
I have come up with a Singleton class that manages a pool of database connections. Basical
PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see
Saving data from a form into a file
Hey everybody,
Sorry, I am really new to PHP coding and such but a project kind of got thrust
TimeZoneOffset
Hello,
Please i need your help. I have a system that users can use to punch in and out. This
UDP Multicast question
Hey,
Im not really in the know when it comes to network related programming and activitie
Online Event Ticket Sales
Has anyone wrote a script for online tickets sales?
I have been googling and found lots of th
Multiple upload and Resize
I would like some help on my script I have the for my index.php
////
<html&
PHP Blog help
Need help with posting comments in a word press blog? I have a comments page where the comments are
WS-Security PL/SQL Forms
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - P
array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child