jcisml 0 Newbie Poster

is there an alternative to this website preview tool? I'm looking for a tool that will preview websites from linked images not linked text. thanks

jcisml 0 Newbie Poster

Hi,
I'm having the problem with this code, gives me "wrong datatype for second argument" error

here is the code:

<?
$page_to_show = 'second.php';
// array of days and hours
$working_time = array(
    1=>array(21,22,23,0,1),//monday hours
    2=>array(21,22,23,0,1),//tuesday hours
    3=>array(21,22,23,0,1),//and so on 
    4=>array(21,22,23,0,1),
    5=>array(21,22,23,0,1),
    6=>array(21,22,23,0,1),
    7=>array(11,12,13,14,21,22,23,0,1),
    );
 
if (in_array(date('H')+1,$working_time[date('N')])) {   [B]<-- error on this line[/B]
    $page_to_show = 'first.php';
}
include($page_to_show);
?>

I have no idea what kind of error it could be,
please help

jcisml 0 Newbie Poster

hi!
thanks for the reply,
i've tried your suggestion but it still gives parse error
here is the file, if you could kindly please check out,
thanks
http://dalerlife.net/file.zip

jcisml 0 Newbie Poster

Hi,
I have a webpage that displays different info at different times of day,
it worked fine until i put flash on my page,
i used tutorial on how to remove "click to activate" in updated IE.
here: http://www.gerozahn.de/click-workaround/

then I tried to use my code to display different info according to time,
i used this code, which works fine without "click to activate" fix:

<?php
$hour = date('G'); //This outputs the current hour in 0 - 23 (24 hour format)
if($hour >= 21 || $hour <= 0)
{
?>
........................my webpage..............................
}
else
{
?>
........................another webpage.......................

then I tried to use "click to activate" fix with the above code like this:

<?php
  ob_start();
?>
<?php
$hour = date('G'); //This outputs the current hour in 0 - 23 (24 hour format)
if($hour >= 21 || $hour <= 0)
{
?>
........................webpage with flash..............................
}
else
{
?>
........................another webpage with flash.......................
<?php
  include_once "replaceObjEmbed.php";
  echo replaceObjEmbed(ob_get_clean());
?>     [B]<------ parse error here, unexpected $[/B]

i even tried to switch them around but still i get the parse error,
"click to activate" fix works fine on a single page though
please help!
thank you

jcisml 0 Newbie Poster

Hi,
I'm very new to asp,
I would like to have a reservation script,

here is what I'm talking about,


i should be able to click on the date and time, and reserve a spot,

i have the source code (there are several files), but i don't know how to manage it,

i welcome any advice,
thanks

jcisml 0 Newbie Poster

Hi, i'm trying to make a menu that will follow me as I scroll down the window,
somethins like this, (look on the right and on the left)
please use IE to see, firefox doesn't display properly

http://www.gmarket.co.kr/challenge/neo_category/html_small_category/small_category_300004054.asp?gdsc_cd=300004054&link_type=LIST

i have found some java script, however I want the menu move smoothly as i scroll, any help is appreciated