2,295 Posted Topics
Re: 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 | |
Re: 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 … | |
Re: 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] … | |
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 | |
Re: 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 | |
Re: 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 … | |
Re: [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 … | |
Re: 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 … | |
Re: " 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 | |
Re: [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 … | |
Re: the output contains no php, only the generated html how does the external api get its data | |
Re: 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 … | |
Re: [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] | |
Re: Another bunch of students trying to get someone to do their homework for them | |
Re: examine the lines in each file and ensure they are both including the same file | |
Re: 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 … | |
Re: Go to the google webmaster page and RTFM | |
Re: 415, the voice recognition is pretty well configured to me by now real typing, 37 | |
Re: 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() | |
Re: goto Google webmaster tools, sign up, validate your site, & FOLLOW THE INSTRUCTIONS google seem to have a good idea what constitutes SEO <<---humor--<< | |
Re: [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 … | |
Re: 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 | |
Re: 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"> … | |
Re: 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 | |
Re: 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 … | |
Re: cron job: create a php file to do the job and set it to run at predetermined times | |
Re: 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 | |
Re: [QUOTE=ErangaD;1613513]RunningNo is the textbox name[/QUOTE] name, getElementby[b]ID[/b] | |
Re: you can store it in the session if it is small enough in a file or another table per d5e5 suggestion | |
Re: [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 | |
Re: do you have a pop smtp server installed on localhost? | |
Re: 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 /> | |
Re: 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 … | |
Re: [icode]return array($fortitle,$i);[/icode] or [icode]return array('$fortitle'=>$fortitle,'$i'=>$i);[/icode] | |
Re: 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 | |
Re: "products" what products, needs a little more thought, otherwise its a google search [I]loc city: EVERYTHING[/I] | |
Re: what is the source of the data in the table, there may be a different approach that works, | |
Re: 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 | |
Re: 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, … | |
Re: [url]http://php.software.informer.com/download-php-flow-chart-generator/[/url] | |
Re: Of course there is always this standard reply[indent]We could tell you, but then we'd have to kill you[/indent] | |
Re: 1, [U]only[/U] android, 2, no edit:sorry griffin already answered | |
Re: 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] … | |
Re: 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 … | |
Re: 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 | |
Re: ask it once, you get more responses if you arent annoying | |
Re: 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) ? … | |
Re: ask it once, you get more responses if you arent annoying |
The End.