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
add text and number image
hi guys ..ok see i want the user to add their name and pick a number then click get it and it prints the name on top and the number bellow it on a t-shirt i just cant seem to get this rite i have no
Module pool selction screen parameters combination logic
Hi floks,
Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the string, probably separated by a comma, and print them out, like this:word 1: xxxxword 2: xxxxword 3:
Dynamically set AccordianPane Header
I have an accordian on my master page. I'd like to be able to dynamically change the header on different pages. The I can't figure out how to do it or if it's even possible. When I access the
How to show more than 1 users with this code...
Hello,i have a table that shows users only if I, as Administrator, want to be shown. But its showing just 1 user and i want to show at least 4. If i copy the code, or use loop, its showing the same
New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understand simple arrays, associative arrays, and multidimensional arrays also. The book I am reading
Multiple websites question.
Hi, does php have any functionality that enables a programmer to extract information from a website on the internet and display it on their own? Any help or suggestions on where to go and look for a
Logging and nologging bulk insert
Hi,
pageination not working right... coping images over 4 pages
Code: <?php //This code will obtain the required page number from the $_GET array. Note that if it is not present it will default to 1.if (isset($_GET['pageno'])) { $pageno =
extract content from a website
i have written a code that will grab the content from the index page..i would like to know how can i leech completely thru the site (index,contact, news pages) and grab specific content only like