2,295 Posted Topics

Member Avatar for gilgil2

try[code=php]<?php $code = "xta"; ?> data = processStockSite('http://finance.yahoo.com/q?s=<?php echo $code ?>.l');[/code][code]<?php $code = "xta"; $data = "processStockSite('http://finance.yahoo.com/q?s='$code.l')"; echo 'data ="'.$data.'"'; ?>[/code]or[code=php]<?php $code = "xta"; echo "data = processStockSite('http://finance.yahoo.com/q?s='$code.l')"; ?>[/code]it short tags sometimes cause problems

Member Avatar for almostbob
0
254
Member Avatar for PinoyDev

I have a 2600px monitor, 980px central column looks ridiculous I have also a 200px phone, 980px pushes content offscreen and makes it difficult to access the page at least consider making the page to current standards, a page in em and % self adjusts to window size and does …

Member Avatar for PinoyDev
0
113
Member Avatar for nomin-ginger

From memory you cant embed _post values in a url url variables are _get, when processed by the server, so will be igonred by the form processor google the difference between method=post and method=get I dont have a solution when you post [U]any[/U] kind of code wrap it in [noparse][code][/code][/noparse] …

Member Avatar for Airshow
0
270
Member Avatar for almostbob

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0 the codescrap entered in the address bar makes any web page locally editable, you can play with any element or content

Member Avatar for MooGeek
0
73
Member Avatar for newbi11

jquery or [i]oldschool[/i], back from the 90s when everybody rode dinosaurs, perhaps something like [icode]<body onload='document.getelementbyid('advert')display='block'>[/icode] where advert is [icode] <div id='advert' style='display:none;'>ad</div>[/icode] untested code, thought exercise

Member Avatar for almostbob
0
189
Member Avatar for rakwel10

more and more users do not allow popup windows, the code [U]will[/U] fail better than a popup is a layer in the original page, that can be hidden or displayed at will, with a z-index higher than the rest of the page. layers in the current page cannot be blocked …

Member Avatar for almostbob
0
20K
Member Avatar for riseguim

[QUOTE=Tellalca;1625960]Why not use Print button on the browser or keyboard?[/QUOTE] the number of helpdesk req there are for 'how do I print this' If you program a print button right in the middle of the page there is less chance of somebody assuming you CAN'T print because there is no …

Member Avatar for riseguim
0
145
Member Avatar for karyal
Member Avatar for mkzamanopu

these standard test beds may assist you [noparse] 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 CSS check http://demo.opera-mini.net/demo.html?www.yoursite.com handheld http://www.browsershots.org other browsers [/noparse] 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 …

Member Avatar for Azmah
0
150
Member Avatar for anandhikrishnan

" Start time should be always greater than end time. " Cool, finish the task before you start it no wonder the op cant find [I]logic[/I] to complete their code

Member Avatar for anandhikrishnan
0
11K
Member Avatar for dwlamb_001

[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- @(#) $Id$ --> <head> <title>HTML Template</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <style type='text/css'> tr:hover { background:blue; } </style> </head> <body> <table> <tr><td>this</td><td>this</td></tr> <tr><td>this</td><td>this</td></tr> <tr><td>this</td><td>this</td></tr> <tr><td>this</td><td>this</td></tr> </table> </body> </html>[/code]works for me in opera ff safari ie7 ie8 dont have a …

Member Avatar for riz4u123
0
286
Member Avatar for dreadrocksean

the output contains no php, only the generated html how does the external api get its data

Member Avatar for ddymacek
0
266
Member Avatar for manchurianCEO

means the program has not found the javascript to replace the innertext of the div likely causes wrong filename the script is unlikely to be called jsapi, more often jsapi.js the path is wrong ../../Documents is not the path to the script from the file that is including, try absolute …

Member Avatar for almostbob
0
265
Member Avatar for IWDesigns

[icode]<input type='checkbox' style='background-color:background; color:background; border:0;" />[/icode] 'background'= the color of the underlying element background = invisible view source renders this concept of hidden form fields [I]'not a good solution'[/I]

Member Avatar for almostbob
0
63
Member Avatar for jacksantho
Member Avatar for dean8710
0
320
Member Avatar for jie3

examine the lines in each file and ensure they are both including the same file

Member Avatar for jie3
0
74
Member Avatar for anandhikrishnan

demo[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head> <script type="text/javascript"> <!-- function sizer() { var viewportheight; if (typeof window.innerWidth != 'undefined') { viewportheight = window.innerHeight } else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) { viewportheight = document.documentElement.clientHeight } else { viewportheight …

Member Avatar for almostbob
0
98
Member Avatar for seo_guy
Member Avatar for abdelhakeem

415, the voice recognition is pretty well configured to me by now real typing, 37

Member Avatar for nick.crane
0
451
Member Avatar for lifeworks

read the php date() function in the online manual, [url=http://lmgtfy.com/?q=php+online+manual+date()+function&l=1]let me google that for you[/url] to output the machine readable number to any human readable text format you want see also time()

Member Avatar for smantscheff
0
147
Member Avatar for expt

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

Member Avatar for Erica66
0
240
Member Avatar for ErangaD

[code=php] 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 …

Member Avatar for ErangaD
0
4K
Member Avatar for vaibhav4u

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

Member Avatar for almostbob
0
94
Member Avatar for jacksantho

post code between [noparse][code=language]code[/code] tags, adds highlights, makes errors visible,, eg [code=php]<?php echo phpinfo(); ?>[/code][/noparse] creates this[code=php]<?php echo phpinfo(); ?>[/code] the page is refreshed, its just the code used does not display the $_post values anywhere [code=php]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"> …

Member Avatar for jacksantho
0
188
Member Avatar for arun2006th

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 [B][I]back[/I][/B] into search engines is much more difficult than getting into search engines

Member Avatar for suni123
0
199
Member Avatar for leroi green

In the <head>in <script></script> or in an xtern file for re-use [code=javascript]NewImg = new Array ( "images/1.gif", "images/2.gif", "images/3.gif" ); /* as many or few images and the path to them */ var ImgNum = 0; var ImgLength = NewImg.length - 1; var delay = 3000; /* Time delay between …

Member Avatar for zdossa
0
547
Member Avatar for Deathmachine

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

Member Avatar for Deathmachine
0
79
Member Avatar for PixelatedKarma

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

Member Avatar for PixelatedKarma
0
194
Member Avatar for ErangaD
Member Avatar for Airshow
0
176
Member Avatar for alenD

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

Member Avatar for b89smith
0
105
Member Avatar for pseudorandom21

[QUOTE=VernonDozier;1607619]>> "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?[/QUOTE] "drawing a blank" is definitely a hint

Member Avatar for pseudorandom21
0
660
Member Avatar for jacksantho
Member Avatar for Hani1991

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 />

Member Avatar for dreamer14
0
163
Member Avatar for AngelicOne

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 …

Member Avatar for Arkinder
0
181
Member Avatar for Rahul1996

[icode]return array($fortitle,$i);[/icode] or [icode]return array('$fortitle'=>$fortitle,'$i'=>$i);[/icode]

Member Avatar for almostbob
0
102
Member Avatar for Hani1991

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

Member Avatar for Hani1991
0
197
Member Avatar for mehrantahir

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

Member Avatar for rayidi
0
168
Member Avatar for mangel.murti

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

Member Avatar for mangel.murti
-1
136
Member Avatar for ahasan_al_rabbi

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

Member Avatar for almostbob
0
122
Member Avatar for airmvp23

php.ini find it, examine it, change the flag this codescrap will tell you much [code=php]<?php phpinfo(); ?>[/code]you may have to query your host to find where php.ini is, or where you may put it if it '[I]isnt[/I]' many hosts have a master version of php.ini not accessible to individual accounts, …

Member Avatar for airmvp23
0
501
Member Avatar for 54uydf

[url]http://php.software.informer.com/download-php-flow-chart-generator/[/url]

Member Avatar for almostbob
0
119
Member Avatar for Sadun89

Of course there is always this standard reply[indent]We could tell you, but then we'd have to kill you[/indent]

Member Avatar for Netcode
0
169
Member Avatar for SprDave
Member Avatar for newbiecoder
Member Avatar for vishalbandre
0
117
Member Avatar for karthik_ppts

more detail needed exactly what are you trying to accomplish, is there a single element, or do you want to know which of a number of elements is clicked what code have you already fixing code is a lot easier than writing code, so post what you have between [noparse][code=html] …

Member Avatar for ushajase
0
16K
Member Avatar for kj6art

these standard test beds may assist you [noparse] 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 [/noparse] 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 …

Member Avatar for kj6art
0
145
Member Avatar for RazorRamon

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

Member Avatar for RazorRamon
0
249
Member Avatar for newbie14
Member Avatar for newbie14

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[code=html]<script type="text/javascript"> <!-- (document.getElementById) ? …

Member Avatar for almostbob
0
169
Member Avatar for newbie14
Member Avatar for almostbob
0
149

The End.