almostbob 866 Retired: passive income ROCKS

read the php date() function in the online manual, let me google that for you to output the machine readable number to any human readable text format you want
see also time()

almostbob 866 Retired: passive income ROCKS

read the google API

points to note
1. its not a google map
2. its a html <img> map
3. nobody will do it for you

almostbob 866 Retired: passive income ROCKS

post code between [code=language]code [/code] tags, adds highlights, makes errors visible,, eg [code=php]<?php echo phpinfo(); ?> [/code] creates this

<?php echo phpinfo(); ?>

the page is refreshed, its just the code used does not display the $_post values anywhere

echo "<form method="post" action=$php_self>";
echo "<br>$dispayed_colname:<BR><INPUT TYPE="TEXT" NAME="hey"
SIZE="40">";

echo "<p><input type="submit" name="submit_the_values"
value="$submit">
</form>";

if($submit_the_values){
$sql=mysql_query("INSERT INTO $tabname($cols_to_insert)". "VALUES
($hey)");

wrong use of quotes breaks echo at the first value
corrected some

echo "<form method='post' action='$_SERVER['PHP_SELF']'>"; 
// quotes corrected, action value quoted, php_self is deprecated correct form used
.if(isset($_POST['hey'])) {echo "<br>$dispayed_colname:<br><input type='text' name='hey' value='$_POST{'hey']' size='40'>";}
else echo "<br>$dispayed_colname:<br><input type='text' name='hey' value='' size='40'>";} 
// corrected case, quotes, displayed updated value in input (there are shorter this is the one I thought first)
echo "<p><input type='submit' name='submit' value='submit'></form>";
if($_POST['submit']){ $sql=mysql_query("INSERT INTO $tabname cols_to_insert) VALUES ($_post['hey'])"; } 
//closed the braces, removed deprecated variable

I just got sick of making changes,
suggest get a code highlighting editor like notepad2 notepad++ (hundreds of them) and errors like these will be evident in the code as you write it
and easily corrected

almostbob 866 Retired: passive income ROCKS
exit; //unconditional exit
if(condition) exit; // if the condition is met just exit
if(condition) die('a horrible death'); //exit with a string error message printed (die is synonym for exit)
if(condition) { huge mass of code;
exit(112); } //execute a huge mass of code, then exit with a numeric error message

or any combination of the above
When in doubt RTFM
or Let me Google that for you

almostbob 866 Retired: passive income ROCKS

18th birthday+1 day, too drunk to do the test on the day
everything happens at 18

almostbob 866 Retired: passive income ROCKS

cron job:
create a php file to do the job and set it to run at predetermined times

almostbob 866 Retired: passive income ROCKS

if it is generated by php, sql
is this the template, so we can look at that for the bug

much has to do with the way IE and firefox handle tables/margins/padding
IE puts padding on the inside of the container element
EE(everything else) puts padding on the outside of the container element
changes the position of everything
some discussions on the fixes

http://www.456bereastreet.com/archive/200612/internet_explorer_and_the_css_box_model/
http://webdesign.about.com/od/css/a/aaboxmodelhack.htm
http://www.renownedmedia.com/blog/css-box-model-differences-in-firefox-and-internet-explorer/
http://www.creativebumps.com/2011/05/common-ie-hacks/

almostbob 866 Retired: passive income ROCKS

" Start time should be always greater than end time. "

Cool,

finish the task before you start it

no wonder the op cant find logic to complete their code

almostbob 866 Retired: passive income ROCKS

RunningNo is the textbox name

name, getElementbyID

almostbob 866 Retired: passive income ROCKS

hardwork and BS, both get them through school
bs doesnt work afterwards
unless you study politics

almostbob 866 Retired: passive income ROCKS

Another bunch of students trying to get someone to do their homework for them

almostbob 866 Retired: passive income ROCKS

return array($fortitle,$i); or return array('$fortitle'=>$fortitle,'$i'=>$i);

almostbob 866 Retired: passive income ROCKS

remove the plugin
there is NO automated software that does not penalise you
go read the instructions in the Google webmaster pages about how to get re-indexed after being deleted
getting back into search engines is much more difficult than getting into search engines

almostbob 866 Retired: passive income ROCKS

When authoring document is HTML or XHTML, it is important to Add a Doctype declaration. The doctype declaration must be exact (both in spelling and in case) to have the desired effect, which makes it sometimes difficult. To ease the work, below is a list of recommended doctype declarations that you can use in your Web documents.

(X)HTML Doctype Declarations List
HTML 4.01
Strict <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Transitional <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Frameset <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
XHTML 1.0
Strict (quick reference) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Transitional <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
XHTML 1.1 - DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
XHTML Basic 1.1 (quick reference): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
HTML 5 [NOT a standard yet] <!DOCTYPE HTML>
MathML Doctype Declarations
MathML 2.0 - DTD: <!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">
MathML 1.01 - DTD: <!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">
Compound documents doctype declarations
XHTML + MathML + SVG - DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
XHTML + MathML + SVG Profile (XHTML as the host language) - DTD: …

almostbob 866 Retired: passive income ROCKS

doctype defines the document type
the appropriate doctype for the code of the files ensures the page displays and functions as intended
upper case
precisely as written

almostbob 866 Retired: passive income ROCKS

zoom is not an appropriate or useful test
users set the basefont to their specifications/requirements and expect that websites are current enough in code compliance to adjust around them
current best practice it to use em or % as layout tools
cease using px, the problem will disappear

800px columnn looks ridiculous on this 2600px monitor
800px pushes offscreen in small displays/portable devices

AngelicOne commented: very helpful +3
almostbob 866 Retired: passive income ROCKS

would be inclined (very inclined) to build the page right and just let the client see the finished product

almostbob 866 Retired: passive income ROCKS

They are treasury bills
to cash em ,, money from the government, which hasnt got any money

almostbob 866 Retired: passive income ROCKS

what is the source of the data in the table, there may be a different approach that works,

almostbob 866 Retired: passive income ROCKS

indented code, back to the 80s, current practice is to use a highlighting editor
indenting can add as much as 40% to the size of the code, if the editor uses spaces to create the indenting
and it looks like shit when you ask for assistance

almostbob 866 Retired: passive income ROCKS

whatever works for YOU
the typical 'hello world' to a rdbms require different appproaches different code
echo is appropriate for a single line
heredoc for blocks of text

almostbob 866 Retired: passive income ROCKS

"products" what products, needs a little more thought, otherwise its a google search
loc city: EVERYTHING

almostbob 866 Retired: passive income ROCKS

without a mail server you cant send mail

almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

do you have a pop smtp server installed on localhost?

almostbob 866 Retired: passive income ROCKS

code?

almostbob 866 Retired: passive income ROCKS

Since when is stating facts impolite? Would smiley faces and rainbow stickers make my posts better? It's never my intention to come across as rude or impolite (with the exception of that one time with almostbob ^_^). I simply make my points and leave. Text is very open to interpretation, and it's really out of my control if someone takes what I said the wrong way.

Regards
Arkinder

Thanks, sometimes everyone needs a hit in the head, even me

almostbob 866 Retired: passive income ROCKS

you can store it in the session if it is small enough
in a file or another table per d5e5 suggestion

almostbob 866 Retired: passive income ROCKS

Of course there is always this standard replyWe could tell you, but then we'd have to kill you

almostbob 866 Retired: passive income ROCKS

Let all the Socialists vote for lenin
there are many levels of dumb
when this level, TDTB, is reached, you have to feel a sense of awe
vote [1] dead guys
*TDTB = too dumb to breathe

almostbob 866 Retired: passive income ROCKS

goto Google webmaster tools,
sign up,
validate your site,
& FOLLOW THE INSTRUCTIONS
google seem to have a good idea what constitutes SEO <<---humor--<<

almostbob 866 Retired: passive income ROCKS

"does that change anything"
validation errors in xhtml code, and
some browsers may fail to display the tag/page (depending on the number of code errors)

xhtml has strict structure rules
must use self closed tags, period

stuff we use a lotthese standard test beds may assist you

http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/ Speed tweaks

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0 html check

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en CSS2 check http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css3&usermedium=all&warning=1&lang=en CSS3 check

http://demo.opera-mini.net/demo.html?www.yoursite.com handheld

http://www.browsershots.org other browsers
many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based,

Hani1991 commented: Thank you for wasting your time to help me. +2
almostbob 866 Retired: passive income ROCKS

html is fairly flexible in its structure, incomplete code is accepted by the parser
the xhtml specification is much more strict
in xhtml all tags must close
eg <a></a>
singleton tags such as <img><br> must self close as <img /> <br />

almostbob 866 Retired: passive income ROCKS

<?php ob_start("ob_gzhandler"); ?> Instant compressed code, as well as space correction
perhaps a better solution

almostbob 866 Retired: passive income ROCKS

these standard test beds may assist you

http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/ Speed

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0 html check

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en CSS2 check http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css3&usermedium=all&warning=1&lang=en CSS3 check

http://demo.opera-mini.net/demo.html?www.yoursite.com handheld

http://www.browsershots.org other browsers
many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based, you understand your content more than I would

almostbob 866 Retired: passive income ROCKS

after the first query is run,
output to:; a temp table, an array, or other element the op is comfortable using,
run another query on the temp table limit 10, arsort the array, or other element the op is comfortable using, to get the required 10

almostbob 866 Retired: passive income ROCKS

timestamps are not stored in text
dates and times are a single column value as php date()
when storing the timestamp us mysql now
the date and time are extracted from this 4byte numeric field
some reading of standards is required

almostbob 866 Retired: passive income ROCKS

>> "oh shit, not another gung-ho ..."

Alright ardav, I give up. I know you're thinking of someone in particular, but I'm drawing a blank. At least give us a hint.


P.S. What happened to the bad word filter?

"drawing a blank" is definitely a hint

almostbob 866 Retired: passive income ROCKS

dont use a popup window, it wont work on anybody with a poppup blocker, and just about everything has a popup blocker installed by default
instead use a layer in the current page, have it show or hide (display:block; display:none; ) onclick
a quick dirty example

<script type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false;
function hideIt(thing) {
if (dom) {document.getElementById(thing).style.visibility='hidden';}
if (document.layers) {document.layers[thing].visibility='hide';} }
function showIt(thing) {
if (dom) {document.getElementById(thing).style.visibility='visible';}
if (document.layers) {document.layers[thing].visibility='show';} }
--></script>
<button id="f1orm" onClick="showIt('layer1');">Go ahead, Make your choice</button> &nbsp;
<div><p>This would be the ordinary content</p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborumLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna …
almostbob 866 Retired: passive income ROCKS

php.ini

find it, examine it, change the flag
this codescrap will tell you much

<?php phpinfo(); ?>

you may have to query your host to find where php.ini is, or where you may put it if it 'isnt' many hosts have a master version of php.ini not accessible to individual accounts, but permit a local one for each hosted site

Your stand-alone shopping cart may not be includable, check with the cart provider most have multiple language versions of the cart that are includable

almostbob 866 Retired: passive income ROCKS

ask it once, you get more responses if you arent annoying

almostbob 866 Retired: passive income ROCKS

ask it once, you get more responses if you arent annoying

almostbob 866 Retired: passive income ROCKS

What datepicker
there is not enough information provided to give assistance

almostbob 866 Retired: passive income ROCKS

'someone' is wrong, sanitizing filters are smarter than that,

this filter is aware of the default_charset and if a sequence of bytes is detected that makes up an invalid character in the current character set[/b] then the entire string is rejected resulting in a 0-length string.

My bold, aware of character set, if you set correct encoding everything works http://php.net/manual/en/filter.filters.sanitize.php full description all the filters available (in english, the farsi links dont work)

almostbob 866 Retired: passive income ROCKS

you make the query and get the filename and path as [example]$row and $row
then using whatever tag/script normally plays a flv file
example

<tag url='filepath' >play filename</tag>

becomes

echo "<tag url='$row['filepath']' >play $row['filename']</tag>";

obviously NOT the actual code, I have no idea what the player is for flv

almostbob 866 Retired: passive income ROCKS

clean up the code, perhaps, there may be something that you missed
something you may have missed .moz css extensions only work in mozilla browsers
safari is not a mozilla browser
IE is not a mozilla browser
your client(safari on Mac), and 70% of all possible visitors(IE), see fault in all .moz extensions,
If the client, and 70% of all possible visitors see fault in your code, perhaps you should consider changing the code

http://analyze.websiteoptimization.com/authenticate.php?url=http://www.ladykashandkrissy.com/index.php&/ Speed

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ladykashandkrissy.com/index.php&charset=%28detect+automatically%29&doctype=Inline&group=0 html messed up

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ladykashandkrissy.com/index.php&profile=css21&usermedium=all&warning=1&lang=en CSS2 messed up

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ladykashandkrissy.com/index.php&profile=css3&usermedium=all&warning=1&lang=en CSS3 messed up

http://demo.opera-mini.net/demo.html?www.ladykashandkrissy.com/index.php handheld

http://www.browsershots.org other browsers

many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based, you understand your content more than I would

almostbob 866 Retired: passive income ROCKS

all html carries a dtd html<2 does not require it be stated
html 3 4 5 xhtml do
corrected

put the slash if using an xhtml DTD

almostbob 866 Retired: passive income ROCKS
<link rel='shortcut icon' type='image/x-icon'  href='http://www.schoolfriendtime.com/favicon.ico'>
<link rel='shortcut icon' type='image/x-icon'  href='http://www.schoolfriendtime.com/image/favicon.ico'>

not sure if subdfolders work, I know root folder first option works
lower case

almostbob 866 Retired: passive income ROCKS

iframe code for no problem

<html></html>

iframe code for problem condition

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><script type='text/javascript'>
<!-- 
top.location = 'location of selected problem page'
//--></script></head><body></bopdy></html>
almostbob 866 Retired: passive income ROCKS

this set of links will help

http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/ Speed tweaks

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0 html check

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en CSS2 check http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css3&usermedium=all&warning=1&lang=en CSS3 check

http://demo.opera-mini.net/demo.html?www.yoursite.com handheld

http://www.browsershots.org other browsers
many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
set it up in em & %, not px or pt, makes auto adjusting pages that fit most screen and window sizes in most devices
DosVdanye