2,295 Posted Topics

Member Avatar for Sinderone

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

Member Avatar for Sinderone
0
174
Member Avatar for suavedesign

[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 …

Member Avatar for suavedesign
0
567
Member Avatar for zulkefli82

[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

Member Avatar for almostbob
0
99
Member Avatar for eduardc

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"]; …

Member Avatar for almostbob
0
139
Member Avatar for ypks_destiny

[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

Member Avatar for almostbob
0
104
Member Avatar for suavedesign

[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]

Member Avatar for suavedesign
0
153
Member Avatar for mkzamanopu
Member Avatar for almostbob
-6
39
Member Avatar for maxelcat

[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 …

Member Avatar for maxelcat
0
104
Member Avatar for stupidenator

mark as solved dude [url]http://www.javascriptkit.com/javatutors/index.shtml[/url]

Member Avatar for almostbob
0
3K
Member Avatar for The Dude

^ smart ** < tennis basket golf (balls) << why is he doing this at 2 in the morning V has chocolate

Member Avatar for codeorder
2
685
Member Avatar for maunica
Member Avatar for smith09
Member Avatar for highflyer8
Member Avatar for rajeesh_rsn

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

Member Avatar for MaryDD
0
142
Member Avatar for bangla

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 …

Member Avatar for happytogether
0
151
Member Avatar for almostbob

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

Member Avatar for JamieLynnSEO
-2
502
Member Avatar for jdam7459

On windoze I use DevPHP, a php ide with php and a localhost build from sourceforge

Member Avatar for Arcrammer
0
1K
Member Avatar for jkershaw06
Member Avatar for tjmoosh

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

Member Avatar for tjmoosh
0
237
Member Avatar for poonamkuthe
Member Avatar for SAUMENDRA
0
154
Member Avatar for suavedesign

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

Member Avatar for cfajohnson
0
691
Member Avatar for Moderns

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

Member Avatar for Moderns
0
2K
Member Avatar for Ender330

$_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']; /* …

Member Avatar for Airshow
0
218
Member Avatar for arsala khan

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]

Member Avatar for almostbob
-1
67
Member Avatar for Binary

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

Member Avatar for almostbob
0
22K
Member Avatar for nyny11211

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 …

Member Avatar for almostbob
0
212
Member Avatar for Bliksempie

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 …

Member Avatar for pakkupakku
0
1K
Member Avatar for php2sheik
Member Avatar for orange_24
0
144
Member Avatar for NutanGadakh
Member Avatar for hzh003

in javascrpt or in the swf player once the page is sent to the browser php is DONE

Member Avatar for almostbob
0
98
Member Avatar for Dani723

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 …

Member Avatar for almostbob
0
828
Member Avatar for amit_kuetcse2k5

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"

Member Avatar for pritaeas
0
82
Member Avatar for jmcdyer
Member Avatar for arthurav

[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

Member Avatar for almostbob
0
349
Member Avatar for mcld

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 …

Member Avatar for mcld
0
113
Member Avatar for chamoo007

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 …

Member Avatar for almostbob
0
310
Member Avatar for 3825

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 …

Member Avatar for 3825
0
401
Member Avatar for rommelgenlight

[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 …

Member Avatar for Ancient Dragon
0
361
Member Avatar for vivi288

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 …

Member Avatar for vivi288
0
239
Member Avatar for Moirae

if you must, [url]http://javascript.internet.com[/url] there are some mouse trail scripts.

Member Avatar for almostbob
0
97
Member Avatar for kooia

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 …

Member Avatar for Frankey
0
630
Member Avatar for Syntax12

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 …

Member Avatar for EvolutionFallen
0
154
Member Avatar for wow..holiday

and dont forget text extension, screen reader aids for disabled, without which your flah site will be about invisible to search engines

Member Avatar for mankis
0
136
Member Avatar for Potato.Head
Member Avatar for jphilippe
0
158
Member Avatar for samsons17

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

Member Avatar for tyutmonster
0
315
Member Avatar for SolidSolutions

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]

Member Avatar for almostbob
0
149
Member Avatar for Debscrafty

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 …

Member Avatar for diafol
0
149
Member Avatar for rajesh1158

[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,

Member Avatar for rajesh1158
0
207
Member Avatar for daviddoria

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

Member Avatar for hindlist
0
92
Member Avatar for Magic8Computing

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 …

Member Avatar for nosleep365
0
207

The End.