2,295 Posted Topics
Re: I am fundamentally lazy, so goto somewhere like [url]www.cssmenu.com[/url] and download one of their free scripts, and see how they did it, then do your own | |
Re: [code=css].col1, .col2, .col3, .cols { float:left;} .col1{ width:404px;} .col2{ width:230px;} .cols{ width:177px;} .main { width: /*1280px;*/2000; /*border:4px solid yellow;*/} [/code]best practice for css dimensions is ems and %, dimensions that auto adjust to screen size and window size, fixed dimensions, the px used in the stylesheets attached to trecall cause … | |
Re: [url=http://lmgtfy.com/?q=how+to+implement+captcha+on+my+web+site]Let me google that for you[/url] encript your email address, anything you put in clear is read by bots for spammers there are multiple captcha scripts for download cmon ya got to laugh at the animation | |
Re: wrap your code in [noparse][code=language]codesample[/code][/noparse] makes it easier to read, turns on code highlighting, sometimes the highlights can solve the problem, they show up mismatched braces miss-spelled codewords etc your code wrapped in [noparse][code=php][/noparse][code=php]<?php $con = mysql_connect("localhost","eduardli_user","-z.x,c"); if (!$con) { die('Could not connect: ' . mysql_error()); } $description = $_POST["description"]; … | |
Re: [code=html]<body><img src='C:\Documents%20and%20Settings\Prashanth.yatakeeri\Desktop\Winter.gif' width='100%' style='z-index:-1;' alt=''> [/code]excusing inline style, get it out into css where it belongs | |
Re: [icode]<input type=button value="Back" onClick="history.go(-1)">[/icode][code=php]<?php if (isset($_SERVER['HTTP_REFERER'])) { echo "<a href='$_SERVER['HTTP_REFERER']'>back</a>"; } else { echo "<a href='javascript:history.go(-1)'>back</a>"; }?>[/code] | |
Re: well aint that a headslap moment, Ya know, I got a pig smarter than that | |
Re: [quote=twitter]Don't: •Manipulate the logos unless necessary due to color restrictions (for example, black and white) •Imply sponsorship, endorsement, or false association with Twitter, Inc. •Use the Twitter bird as a spokesperson to carry your logos or messaging (for example, your logo next to or being carried by the bird). •Use … | |
Re: mark as solved dude [url]http://www.javascriptkit.com/javatutors/index.shtml[/url] | |
Re: ^ smart ** < tennis basket golf (balls) << why is he doing this at 2 in the morning V has chocolate | |
Re: the first url is the more correct form the second traditionally represents a foldername, which may confuse the spider and lessen page counts both would function properly as the rewrite is only specific to your site mod_rewrite is fun | |
Re: Give the targets different names, names do not just apply to frames, if a frameset does not exist the target opens in a window or tab with that name Try to get rid of the tables, slow poor choice for layout tool css positioning is faster more compliant and looks … | |
:-/ All you men watch out Women take time and money[INDENT]woman = time * money[/INDENT] time is money[INDENT] woman= money * money = money^2[/INDENT] money is the root of all evil [INDENT]woman = (evil^1/2)^2[/INDENT] [INDENT]=> woman = evil[/INDENT] | |
Re: On windoze I use DevPHP, a php ide with php and a localhost build from sourceforge | |
Re: [COLOR="green"][B]<[/B][/COLOR]a name="coats"></a> ? | |
Re: thats useful code, which I have added to my samplelist, than kyou but not intuitive naming, in 18months time when there is a rewrite [icode]function disable(element)[/icode] may cause programmer errors, why not [icode]function disableallother(element)[/icode] is there a length limit to variables in javascript that I missed or some such | |
Re: Is the missing quote is just a typo in this question. that would cause failure | |
Re: ems are user defined, they are the width of the M in the users basefont screen layout in % , font in em the window is always 100% wide regardless of size | |
Re: by what link are you attempting to access the page, from outside local file structure has no relevance to what is seen from the web the html root defined in the server is the point of access, any other files must be below that, drive names etc do not exist | |
Re: $_REQUEST is a combination of the $_GET and $_POST arrays S_POST is the array of a form submission $_GET is the array of this type of parameter [noparse]http://mysite.com/[email protected]&Username=newuser&Password=12345678[/noparse] for single use (php is simple)[code=php]echo $_GET['Email']; echo $_GET['Username']; echo $_GET['Password'];[/code]for multiple use[code=php]$Email = $_GET['Email']; $Username = $_GET['Username']; $password = $_GET['Password']; /* … | |
Re: NO show some effort, begin yourself, post your code and ask for critiques it is not up to others to do your home work [url=http://lmgtfy.com/?q=php+mysql+create+dropdown+list+from+query+results]Let me google that for you[/url] or [code=php]if($you = 'dont like it') echo 'KMAYOYO';[/code] define:[url=http://lmgtfy.com/?q=KMAYOYO]kmayoyo[/url] | |
Re: as above, the $_GET array contains the parameters passed in the url to get the value ?id=%s [code=php]echo $_GET['id']; /* or if the id is being used more often than once assign it as a variable */ $id = $get['id']; echo $id; /* do some math */ + $id; // … | |
Re: looking at your code above notice the color changes where the variables are all messed up by incorrect quotes[quote][code]<html> <head> <script type="text/javascript" src="coomang.js"></script> <title>JS COOKIE MANAGER</title> <link rel="stylesheet" type="text/css" href="coomang.css"> </link> <script type="text/javascript" > function loadcontent() { var x= "<div class="general">"; [/code][/quote]first error shows in lline 9, cant include dquotes … | |
Re: why would you send 42000 lines if you want 1 the script that creates the csv file for upload, could it be smart enough to check for modified data, then import all the lines of the much smaller file I think I am suggesting a proceedural change to the data … | |
Re: the script & all other support, you get from PayPal.com when you register | |
Re: in javascrpt or in the swf player once the page is sent to the browser php is DONE | |
Re: It is unlikely that the error is in line 22. function get_option() is likely declared in an include() file so the code is availab le to more than one file all include()d files are considered part of the file being parsed, parsed line 22 could be line 3 of another … | |
Re: read a book, the site remains in php, the output to wap devices is a simplified html to the limited capacity of the wap device the wap book will tell you what your existing scripts need to echo produce "wapml" | |
Re: the code you twit, pictures are useless | |
Re: [I]everybody[/I] always wants to do it the hard way [icode]echo "<form action='change.php?modify_type=2' onsubmit='return confirm(\"Are you sure you want to delete the selected entries?\");' method='post'>";[/icode] keep it small | |
Re: set in css, for simple items as background, for complex items as css z-index layers not as background, because background at the moment cant play animations, or do much other than sit there but examine the z-index property, default z-index is 0 higher z-index sits above, lower z-index sits below … | |
Re: yes, as in the replies above, the title is just a tag, the tag can be written in php from a datatabase, from any of the parameters passed to the filename, from any php predefined variable, date, time a search page, links to external sites, and use the title as … | |
Re: to stay put [code=css]#footer { height: 150px;margin-top: 0px;margin-bottom: 0;text-align: right;clear: both; background-repeat:no-repeat;background-image: url('bg_body_2.jpg');background-repeat: no-repeat; }[/code] could include instructions to keep it fixed and at the bottom of the page[code=css]#footer { height:150px;margin-top:0;margin-bottom:0;text-align:right;clear: both;background-repeat:no-repeat;background-image:url('bg_body_2.jpg');bottom:0;position:fixed;}[/code] zero px is not valid in css, you missed one at 'margin-top' in your cleanup. Production code is … | |
Re: [QUOTE=rommelgenlight;832218]you know if your saying ms access database will make a bad database, why did microsoft made it in the first place if it will make a bad database. You are very pessimistic.[/QUOTE] think windows vista windows xp initial release windows 98 famous bluescreen on release ms dont care whether … | |
Re: perhaps change the way the selects are handled, drop down menus don't really need to be handled as a form, the drop down menus above these posts(daniweb) are css-styled <ul> given the value() arrays, url1 url2 etc the pages all you requre is to populate <ul><li> from the database, and … | |
![]() | Re: if you must, [url]http://javascript.internet.com[/url] there are some mouse trail scripts. |
Re: an em has no direct relationship to a pixel, the relationship given so many times in old, very outdated, publications is based on a 96dpi crt monitor, current monitors 176dpi and higher, so there are a hell of a lot more px in the screen, and in an em an … | |
Re: the error is caused by storing the date as a text string in a 'date' formatted field the database is not meant to be human readable, data constructs for human readability mess things up the date should be stored as a unix timestamp, php strtotime() time() sql now() solely numeric … | |
Re: and dont forget text extension, screen reader aids for disabled, without which your flah site will be about invisible to search engines | |
Re: [url]http://www.apple.com/quicktime/tutorials/embed.html[/url] Is it kiosk mode?? | |
Re: why close open php at all? it just adds execution time, doesnt make the code easier to read, no care has been taken with clean code | |
Re: no issues, css '%' requires numeric values, **[B].[/B]** is valid numeric so will be properly interpreted, (even by IE) to the limits of the browsers implementation (IE very limited) [B]by satphone from outback queensland, month 2/8 holiday, fanbloodytastic[/B] | |
Re: w3c 'current best practice', no fixed dimensions, no frames, no tables, so the site works in everything from handheld/phone screens to widescreen desktops nothing that requires a plugin to function.. does not mean NO flash/java/javascript/etc means that if flash/java/javascript/etc is not installed the site still works no light text on … ![]() | |
Re: [code=javascript]<script type='text/javascript'> <!--// if (window != top) { top.location.replace(self.location.href); } //--> </script>[/code] put a framebreaker in the head of the page you wish to ensure is n ot in the frameset. the above codescrap is one, | |
Re: Browser support for html5 is limited and the implementation of those features that are supported in those browsers that partially support html5 are generally buggy, opera appears to be acing the implemntation race, [url]http://html5test.com/[/url] test your browser | |
Re: as it is the code is wrong when the javascript is declared in the head before the page is rendered the <td id='hp-random'> element does not exist, setting the attrributes of a non-existent element causes errors a possible solution is to make the javascript a function and put the function … |
The End.