-
Posts
2,527 -
Joined
-
Last visited
Everything posted by DeanWhitehouse
-
echo out $header_content, and see if it is what u expect
-
How to call a php function on click of a hyperlink??
DeanWhitehouse replied to pcman's topic in PHP Coding Help
if that is what you want, i would advise using bbcode for it. And have the person put bbcode in instead. -
can you show your code
-
change if($_GET['msg'] != ""){ to if(isset($_GET['msg'])){
-
For error checking echo out all your vars, and add error_reporting(E_ALL); to the top of the pages
-
echo out all your varaibles and make sure there correct and add error_reporting(E_ALL); to the top of the pages
-
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
try it -
you put the emails into an array , and do a foreach loop
-
[SOLVED] Making this php file output as a jpg
DeanWhitehouse replied to rondog's topic in PHP Coding Help
is this the full page code ,and the extension on the image seems to be .php in the page -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
where are you setting the session? -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
make sure session_start(); is at the top of everypage -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
Please click solved at the bottom, if it is solved. Or there still a problem? -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
show your full code, and echo out the session to see what is stored there -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
yes, it passes the variable in the GET , so just save the GET as the session value -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
pass it to the pages?? -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
try session_start(); $_SESSION['css'] = "spring"; -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
yes, u will have to save it some way -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
where u have the if statements for the date add an or statment if(date..... || $user = "spring") -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
for the date, use the numeric number for the month, as greater than and less than don't work for words try date("n"); then if would be something like if(date("n") >= 1 && date("n) <= 4) { spring } -
Two questions: PHP CSS Switch & Link code check
DeanWhitehouse replied to crazylegsmurphy's topic in PHP Coding Help
this should be $date = date("F"); if (!isset($_GET['css'])) { if ($date >= April && $date <= May) { ?> <link rel="stylesheet" href="/_stylesheets/spring.css" type="text/css" media="screen" /> <? } elseif ($date >= June && $date <= August) { ?> <link rel="stylesheet" href="/_stylesheets/summer.css" type="text/css" media="screen" /> <? } elseif ($date >= September && $date <= October) { ?> <link rel="stylesheet" href="/_stylesheets/autumn.css" type="text/css" media="screen" /> <? } elseif ($date >= November && $date <= March) { ?> <link rel="stylesheet" href="/_stylesheets/winter.css" type="text/css" media="screen" /> <? } else { ?> <link rel="stylesheet" href="/_stylesheets/screen.css" type="text/css" media="screen" /> <? }; } else { ?> <link rel="stylesheet" href="</_stylesheets/<?php echo $_GET['css']; ?>.css" type="text/css" media="screen" /> <? }; ?> this $date = date("F"); if (!isset($_GET['css'])) { if ($date >= "April" && $date <= "May") { ?> <link rel="stylesheet" href="/_stylesheets/spring.css" type="text/css" media="screen" /> <? } elseif ($date >= "June" && $date <= "August") { ?> <link rel="stylesheet" href="/_stylesheets/summer.css" type="text/css" media="screen" /> <? } elseif ($date >= "September" && $date <= "October") { ?> <link rel="stylesheet" href="/_stylesheets/autumn.css" type="text/css" media="screen" /> <? } elseif ($date >= "November" && $date <= "March") { ?> <link rel="stylesheet" href="/_stylesheets/winter.css" type="text/css" media="screen" /> <? } else { ?> <link rel="stylesheet" href="/_stylesheets/screen.css" type="text/css" media="screen" /> <? }; } else { ?> <link rel="stylesheet" href="</_stylesheets/<?php echo $_GET['css']; ?>.css" type="text/css" media="screen" /> <? }; ?> -
Making ads dissapering when user clicks.
DeanWhitehouse replied to Sangha-08's topic in PHP Coding Help
from what i know you would need to make the ad a link to a page you made, where you then update the database , then you redirect to the ad page . -
I think PHP info will tell you if imagemagick is installed
-
that means that the page is being redirected constantl
-
[SOLVED] php based, AJAX/JavaScript rich text editor ( CMS etc)
DeanWhitehouse replied to PC Nerd's topic in PHP Coding Help
yer -
[SOLVED] php based, AJAX/JavaScript rich text editor ( CMS etc)
DeanWhitehouse replied to PC Nerd's topic in PHP Coding Help
yer, u could have a preview below the textarea