Hi,
Sorry, I know this may be easy enough for most guru's on here, can anyone please help me?
I only want a simple re-direct from a link stored within a variable. Please see below attempt which didnt work
header('Location: '$destination'');
I appreciate your help please. Thank you
FAAAANTASTICA!! Vacunita you are a star! I cant beleive Feherke pointed it out earlier but I foolishly missed that point (slap myself). I knew it had to be something so minute like that gosh! lol. Thanks Justin also for your valuable help too. You all rock!
Isnt it? umm. Here is the page render:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html;charset=utf-8" http-equiv="content-type" />
<link...
Hi Justin,
Here is the code for the form
<div class="form">
<form action="cms_new_news_process.php" method="post" id="contactform">
<p>Your Information</p>
<p>
<label for="summary">News Header *</label>
</p>...
Hi Justin,
I have tried that and this is the message:
"The field Submit was not submittted.
These are the submitted fields:
Array
(
[heading2] => Test Heading
[summary] => This is a brief summary
[news] => This is the message
[author] => The author
)"
Thanks
Hi Justin,
I just tried that but now the pageis just blank, no information is displayed. Here is what the code looks like now
<?php
//turn on error tracking
error_reporting(E_ALL); ini_set('display_errors', true);
//ini_set('display_errors', true);
//error_reporting(E_ALL);
//get...
Hi Justin,
I've tried that too (renaming the submit button). It doesnt solve it :(
If it would help, here is my form
<form action="cms_new_news_process.php" method="post" id="contactform">
<p>Your Information</p>
<p>
<label for="summary">News Header...
I thought I gave an explanation? no? Ok let me have another go :)
I dont get any error message, the screen just echo's the array of data sent from the form and that's it. I actually want it to populate the database with these information NOT display them on the screen as it is doing right now.
Thanks vacunita. Actually, I dont mean update, I meant to say insert. I simply wanted to insert a few values from a form into a table called "news" in the voiceofhop3 database.
Thanks for your help with this.
Can anybody please help my foolishness pls? For the life of me, I cant really spot why my DB is not updating.
<?php
//turn on error tracking
ini_set('display_errors', true);
error_reporting(E_ALL);
//get connection variables
require_once('connection.php');
//connect to database server...
Hi All,
Any chance I can get help with this code please? Am not sure what I am doing wrong but I cant seem to figure out why its not working as it should. I want this verification page to check if a stored session value is say for example 'Director' if so, then navigate them to whatever page...
Justin, Thank you so much! you made my day. I appreciate all your input. It works now. As for the image uri, I think I'll stick with the simple option lol, been on this for 2 days now and I am way behind. You have also been on it most of today so I don't want to prolong it.
I really...
You are right Justin, it was the query string, works now BUT I've just checked on my MySQL DB and the table row "preview" is being populated with the following
"/home/fhlinux132/m/mmakers.co.uk/user/htdocs/Template/PHP_/appreciateduploads/16/Picture 005.jpg"
As the image path, this is surely...
Here is the Error:
Parse error: syntax error, unexpected '"' in /home/fhlinux132/m/mmakers.co.uk/user/htdocs/Template/PHP_/CMS/blog_add_process_new.php on line 75
Here you go sir!
Insert into mm_appreciated (title,text,preview,categorie,categorie_name,author,date_post) VALUES ('Test Name,I am the text for the body,/home/fhlinux132/m/mmakers.co.uk/user/htdocs/Template/PHP_/appreciateduploads/16/Picture 005.jpg,2,Consultant,Position of Person,2010-09-10...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.