Web Development Questions That Don't Need Their Own Thread v2
3,079 replies, posted
[QUOTE=cas97;33252592]The part where there's scripts and styles outside of the head probably has something to do with it.[/QUOTE]
Uhm no.
[QUOTE=cas97;33252592]The part where there's scripts and styles outside of the head probably has something to do with it.[/QUOTE]
yeah, [t]http://i.imgur.com/5YQxy.png[/t]
He should fix that.
[img]http://i.imgur.com/DTuru.png[/img]
Brah, you never closed that comment thingy
you mean dreamweaver didn't
lmao!
[QUOTE=TehWhale;33253303]you mean dreamweaver didn't
lmao![/QUOTE]
wait, he used dreamweaver and told us to fix it? :downs:
[QUOTE=zzlawlzz;33253343]wait, he used dreamweaver and told us to fix it? :downs:[/QUOTE]
I don't think he made it, he was just saying that he thought it didn't display correctly in Chrome.
nah i made it. i Didn't use dreamweaver...?
[QUOTE=blackfire88;33253644]nah i made it. i Didn't use dreamweaver...?[/QUOTE]preloading images and tables? with the name untitled document? dreamweaver
HAHAHAH, thanks, i see what i did wrong 0.o i completely fucked up the layout of the code.
I always make trivial mistakes. :/
[editline]13th November 2011[/editline]
Dreamweaver can preload images? I didn't know that.
Also the "untitled document" was because i am making this from a HTML template I made a while back.
[editline]13th November 2011[/editline]
Awesome, so it works on the latest version of Chrome, FireFox, Safari and Internet explorer.
The preload code Dreamweaver uses is pointless these days, you'd get a better result if you used "CSS Sprites" (A single request for every single image used)
[QUOTE=blackfire88;33253697]HAHAHAH, thanks, i see what i did wrong 0.o i completely fucked up the layout of the code.
I always make trivial mistakes. :/
[editline]13th November 2011[/editline]
Dreamweaver can preload images? I didn't know that.
Also the "untitled document" was because i am making this from a HTML template I made a while back.
[editline]13th November 2011[/editline]
Awesome, so it works on the latest version of Chrome, FireFox, Safari and Internet explorer.[/QUOTE]
It doesn't work on IE.
[QUOTE=mobrockers2;33257716]It doesn't work on IE.[/QUOTE]Notice he said "latest version of internet explorer" you have IE8, that is not the latest version
[QUOTE=TehWhale;33257827]Notice he said "latest version of internet explorer" you have IE8, that is not the latest version[/QUOTE]
Oh right.
what's the regex to select all letters upper and lower case, numbers and hyphens? I'm trying [code][-a-zA-Z0-9]+[/code] but that's giving me errors, they may or may not be related.
edit:
it is valid, I was being a sped with other stuff
[code] $setava = mysql_query("UPDATE members SET group = '$title' WHERE username = '$username'");[/code]
I can not figure out why this doesn't work.
No amount of googling helps.
Error is
[code]ERRORCould not connect: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group = '.fuc.' WHERE username = '.elli.'' at line 1[/code]
If anyone could help I'd cry tears of joy.
[QUOTE=H4Z3Y;33261317]what's the regex to select all letters upper and lower case, numbers and hyphens? I'm trying [code][-a-zA-Z0-9][/code] but that's giving me errors, they may or may not be related.[/QUOTE]
[code][\d\w\-][/code]
This should do the trick.
[QUOTE=StinkyJoe;33261480][code][\d\w\-][/code]
This should do the trick.[/QUOTE]
that works too, thanks. (It's probably neater too)
[QUOTE=littlefoot;33261421][code] $setava = mysql_query("UPDATE members SET group = '$title' WHERE username = '$username'");[/code]
I can not figure out why this doesn't work.
No amount of googling helps.
Error is
[code]ERRORCould not connect: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group = '.fuc.' WHERE username = '.elli.'' at line 1[/code]
If anyone could help I'd cry tears of joy.[/QUOTE]
The periods shouldn't be in the value of the variable, they should be added to the PHP to insert the variable into the string.
[code]$setava = mysql_query("UPDATE members SET group = '".$title."' WHERE username = '".$username."'");[/code]
[QUOTE=Wudozet;33262328]The periods shouldn't be in the value of the variable, they should be added to the PHP to insert the variable into the string.
[code]$setava = mysql_query("UPDATE members SET group = '".$title."' WHERE username = '".$username."'");[/code][/QUOTE]
Thanks for your reply, even though using that line exactly did not change the error.
In a page almost identical to this one I just used the variable inside of quotes and it works and still works. I can't make any sense of it.
Is anyone else in ACM?
EDIT:
Seems pretty cool, they have lots of books on programming.
[QUOTE=littlefoot;33262588]Thanks for your reply, even though using that line exactly did not change the error.
In a page almost identical to this one I just used the variable inside of quotes and it works and still works. I can't make any sense of it.[/QUOTE]
Know what, after looking at it for a bit longer, it could be because "group" is a reserved keyword in MySQL. I'd either rename the column, or try putting it in backticks (`).
-the first snip i've ever done on any forum ever-
Guys, which CMS would you recommend for a pretty small page ? The only function it needs is to be able to edit the content of pages using a easy to use editor. Wordpress would probably be a huge overkill, am I right ?
[QUOTE=Dominik93;33271399]Guys, which CMS would you recommend for a pretty small page ? The only function it needs is to be able to edit the content of pages using a easy to use editor. Wordpress would probably be a huge overkill, am I right ?[/QUOTE]
Yeah, but it's free, don't know any smaller CMS' that are free. Someone else might though.
Is there any way for IE to display RGBA colours (for text) - or at least a work-around..
Or would it be better to just use images??
(See this is what i'm aiming for: [url]http://dl.dropbox.com/u/25943008/WEBDESIGN/%23/index%20-%20Copy.html[/url] )
[QUOTE=Dominik93;33271399]Guys, which CMS would you recommend for a pretty small page ? The only function it needs is to be able to edit the content of pages using a easy to use editor. Wordpress would probably be a huge overkill, am I right ?[/QUOTE]
For one page? Might as well roll your own, or if you can find a micro-CMS, install that.
[QUOTE=Streetser20;33273195]Is there any way for IE to display RGBA colours (for text) - or at least a work-around..
Or would it be better to just use images??
(See this is what i'm aiming for: [url]http://dl.dropbox.com/u/25943008/WEBDESIGN/%23/index%20-%20Copy.html[/url] )[/QUOTE]
The best you can do is pre-multiply the colours, which won't help you achieve that affect though.
Hi, I'm having a problem with Internet Explorer. The page i made:
[url]http://skeestorm.com/templates/page_template.html[/url]
doesn't work with IE.
I used CSS to place a fixed topbar, but internet explorer (unfortunately the browser some people use) doesn't like it.
Is there a way to make it work for internet explorer?
[QUOTE=blackfire88;33281710]Hi, I'm having a problem with Internet Explorer. The page i made:
[url]http://skeestorm.com/templates/page_template.html[/url]
doesn't work with IE.
I used CSS to place a fixed topbar, but internet explorer (unfortunately the browser some people use) doesn't like it.
Is there a way to make it work for internet explorer?[/QUOTE]Did you use Dreamweaver or are you just that dumb?
You don't have <html>, you have <script></style>
plenty of other things, those are just the first I noticed
Tables, check. No HTML starting tag, check. Inline JS, check. Inline CSS, check. Internal CSS, check. Internal JS, check.
[B]WWWWWHHHHHHHHHHHYYYY?[/B]
Oh shit.
I am THAT dumb.
[editline]15th November 2011[/editline]
added the tags, still doesnt work.
Sorry, you need to Log In to post a reply to this thread.