130 Posted Topics

Member Avatar for DeIntegro

DeIntegro, The reason you're only getting one row is because you're querying for one row. You need to query an array of rows. [code] $row = mysql_fetch_[b]row[/b]($result); [/code] should be [code] $row = mysql_fetch_[b]array[/b]($result); [/code]

Member Avatar for dos_killer
0
474
Member Avatar for debasishgang7

Are you "floating" anything like divs or lists? If so, you need to clear them. Do you have an example page you can show?

Member Avatar for floatingDivs
0
127
Member Avatar for Racoon200

I'm guessing you found the thread via Google Search, Jkreifels. From here on out, try not to "bump" topics over 3 years old.

Member Avatar for floatingDivs
0
163
Member Avatar for mdminternet

This MAY or MAY NOT work, but have you considered using one of those standardized "reset" CSS stylesheets? [url]http://meyerweb.com/eric/tools/css/reset/[/url] You'd simply place that CSS above everything else (thus it would get overriden by stylesheets underneath it when it needs to). What it does is get the browsers as close as …

Member Avatar for floatingDivs
0
132
Member Avatar for Awah Mohamed

the prince Awah, You clearly do not seem to understand that we don't wait for you to beckon us for help. I'm sorry you feel as though the world (specifically Daniweb) owes you this huge favor of doing the work for you, but I doubt anyone with any self-respect will …

Member Avatar for ko ko
0
90
Member Avatar for sha11e

How about a soda machine? Insert coins, count money, see if any needs to be returned, and choose a candy bar. The thing is, every time they buy one, you need to keep track so that they can run out. Use a txt file to keep track of it. So, …

Member Avatar for floatingDivs
0
104
Member Avatar for floatingDivs

Hey guys, I'm interested in PHP and was wanting to get better. I figure there is at least a handful of active members who are college students and wouldn't mind learning more PHP. My offer is to create our own, unique, open-sourced educational CMS similar to Blackboard or Angel. It …

Member Avatar for jogesh_p
0
155
Member Avatar for floatingDivs

Hey guys, This may be entirely impossible, but I've been wanting to shore up the security of a Wordpress CMS for a family friend. Obviously, anyone who goes to [url]http://site.com/wp-admin[/url] will see a login screen, which MAY be susceptible to potential hacking. What I'd like to do is the following. …

Member Avatar for Wraithmanilian
0
98
Member Avatar for LloydFarrell

Well, I'm guessing you see the actual data in all browsers, but you don't see a BORDER in IE, correct? If so, that's fairly obvious. You've set "border" to "none", but used browser-specific CSS to create rounded corners for Safari/Chrome and Firefox browsers. Set "border" to "1px solid #000" and …

Member Avatar for LloydFarrell
0
190
Member Avatar for chudapati09

[URL="http://www.webdeveloper.com/forum/showpost.php?p=980574&postcount=5"]This[/URL] looks like something you may be searching for.

Member Avatar for floatingDivs
0
68
Member Avatar for floatingDivs

Hi Daniweb, I'm looking to read in a file, but "ignore" the label prefixed to data. For instance, if I have the following on one line, I want to ignore "Cities:" but read in the rest. [code] Cities: Chicago, New York, Atlanta [/code] If someone can point me in the …

Member Avatar for LevyDee
0
122
Member Avatar for vitaquous

In JavaScript, something like this would insert "Hello World" into an element. [CODE] var element = document.getElementById('content'); element.innertHTML = "Hello World";[/CODE] (Something like that...I'm not great at JS) In PHP, it's made much simpler. [CODE]<div id="content"> <?php $hello_world = "Hello World"; echo $hello_world; ?> </div>[/CODE]

Member Avatar for vitaquous
0
15K
Member Avatar for C.Cen

Sigh, read [url]http://learncpp.com[/url] If you don't like learcpp, tale a look at [url]http://www.cplusplus.com/doc/tutorial/[/url] There is NO reason for you to be unable to do such a program on your own with enough learning. This sounds jackass-y, but it's NOT intended to. Just trust me, put the time in and you'll …

Member Avatar for DHEERESSAA
0
244
Member Avatar for jackparsana

Would you be up for using jQuery to allow for showing/hiding the content? If so, you could literally create the effect in two lines worth....

Member Avatar for floatingDivs
0
164
Member Avatar for chris.aaker
Member Avatar for tinymark
0
184
Member Avatar for moonL!ght

Try this. You weren't selecting your classes properly. For instance, your <a> tag has the class "nav" while the <ul> tag has the class "navbar". Yet, you used ".nav li" trying to select your <li> tags. However, all that was doing was selecting the <li> tags inside your <a> tags, …

Member Avatar for moonL!ght
0
207
Member Avatar for george61

Silly question, but if this is a hard-coded site, would you be up for using external services? For instance, [url]http://roundpic.com/[/url] is a fantastic option because all you do is upload an image and specify the rounded-pixel size as well as which sides.

Member Avatar for Anahit
0
217
Member Avatar for whimsical1987

Do you have a live test site up yet? The HTML you posted is not of much use considering the images can't be seen (empty "login" area). From what I'm seeing in the image you posted, it appears to be a floating issue but I can't be 100% certain without …

Member Avatar for whimsical1987
0
209
Member Avatar for andrewliu

Are you sure you didn't invert the slashes? [CODE] <a href="//Server/folder">Click Here</a> [/CODE] Also, you should probably be using double-quotes instead of single-quotes.

Member Avatar for tinymark
0
123
Member Avatar for benjaminFowl87

Title: [I]IFRAME issue[/I] Answer: [B]IFRAME[/B] May I ask why you are using an iFrame? They're not even valid HTML anymore, I believe. As for the problem, it's because the iFrame can only be as tall as the container it's "wrapped" in. So, let's say this is your layout: [CODE] <div …

Member Avatar for benjaminFowl87
0
101
Member Avatar for fcvolunteer

To center your footer, set .inner-footer margin to auto; .inner-footer { margin: auto; } Also, remove the overflow on your header, because I get a little scroll bar if my window is too small...come on, man! :P

Member Avatar for fcvolunteer
0
257
Member Avatar for lochnessmonster

Hi lochnessmonster, Have you considered the tutorials @ [url]http://www.learncpp.com/[/url] I've been using it for rehashing my knowledge on OOP and it's been amazing. I've got a $100 book sitting right on my desk a foot from me, but the author on that site has made everything so easy to understand …

Member Avatar for floatingDivs
0
113
Member Avatar for CanaznFTW

[QUOTE=Ancient Dragon;1498577]where did you define MAX?[/QUOTE] He defined it in [B]main[/B], but he's not passing it as a parameter for any of his functions. Either define the variable as a global variable (not recommended as a habit) or pass the value as a parameter in your functions. --EDIT-- I got …

Member Avatar for floatingDivs
0
134
Member Avatar for destroyer89100

@VernonDozier, Thanks so much for that link. When I installed Linux, I forgot to backup my bookmarks and lost that page. Cookie for you, bro. @destroyer89100, Do you enjoy programming? That's a relatively simple problem and the fact that you don't want to put the (small) amount of time necessary …

Member Avatar for floatingDivs
-4
201
Member Avatar for SolidSolutions

Make sure to close the <a> tag. The one you posted above isn't closed. Also, consider span tags inside the <a> tags because some clients otherwise default to their skin colors. For instance, gMail (I think) causes all links to stay blue even if you inline-style a different color UNLESS …

Member Avatar for floatingDivs
0
450
Member Avatar for shauzi158

This should give you a pretty good answer. [URL="http://www.learncpp.com/cpp-tutorial/85-constructors/"]Constructors[/URL] [URL="http://www.learncpp.com/cpp-tutorial/86-destructors/"]Destructors[/URL]

Member Avatar for floatingDivs
0
222
Member Avatar for ankit.pandey3

Remove the PHP echo for the DOCTYPE, and everything above the <head> tag. See what happens...I have a feeling that's your problem. If I recall, DOCTYPE is read-only and shouldn't be outputted like that.

Member Avatar for drjohn
0
104
Member Avatar for AndreRet

[QUOTE=AndreRet;1494291]No prob. 4 *&%%^ HOURS to get 6 lines of code!, I'm sure I'll be bald by the end of this week. Funny enough, I had a breeze with MySql into all different pages. vb6 is just soooo much easier, or until I have this under foot at least.;)[/QUOTE] AndreRet, …

Member Avatar for AndreRet
0
143
Member Avatar for infinitus

Might have something to do with line 30. [CODE]generator.document.write('<html><head><title>Math Challenge!</title></head><body>');[/CODE] Try to remove that and see if it fixes that. You've already generated a majority of those tags above the JavaScript. [B]EDIT:[/B] Also try to remove the following line right above the the one above: [CODE]var generator=window.open('', 'name', 'width=400,height=100,toolbar=0,scrollbars=0,screenX=200,screenY=200,left=200,top=200');[/CODE] It …

Member Avatar for floatingDivs
0
89
Member Avatar for patuie

Try placing a z-index on the inner UL. .menu ul li:hover ul li:hover ul { z-index: 2; }

Member Avatar for patuie
0
141
Member Avatar for shawtyred74

Hey shawtyred74, Your second code isn't properly wrapped in code tags. The problem is the opening brace to the ending code wrapper. Instead of [COLOR="Red"][B][U][[/U][/B][/COLOR]/CODE], you have /CODE]

Member Avatar for Stefano Mtangoo
0
104
Member Avatar for dave086

Shouldn't it be [B]$row = mysql_num_rows($result)[/B] instead of [B]$row = mysql_fetch_array($result)[/B]

Member Avatar for Stefano Mtangoo
0
154
Member Avatar for xcdear213

[QUOTE=xcdear213;1493124]How do I go about coding a website design I just created in PhotoShop? Right now it's a PSD file so how do I turn it into a website now? No, I don't have Adobe Fireworks, so I can't use that.[/QUOTE] Well, you've created an image of what you wish …

Member Avatar for floatingDivs
0
73
Member Avatar for ON_Jtharpe

Increase your #wrapper width. EDIT: Consider using something like 8px of padding on the .content area of the sidebar. I tested it out with Firebug and it looked better. Right now, as you can see, the text is hitting the edge of the sidebar.

Member Avatar for ON_Jtharpe
0
58
Member Avatar for ON_Jtharpe
Member Avatar for schrope

@teedoff Completely agree with you regarding paragraph tags being used instead of break tags. To be honest, is there ever a real need for break tags? For instance, while they can be used as "presentational" markers, what about the blind users who have to listen to Jaws or other visual-aid …

Member Avatar for floatingDivs
0
454
Member Avatar for luweegee

[QUOTE=luweegee;1490380]u have an extra code 4 that issue sir?[/QUOTE] [CODE]<?php function is_locked() { // if locked, return 1 (true) // else return 0 (false) } if(is_locked()) // display "locked thread" image else // display "open thread" image ?>[/CODE]

Member Avatar for floatingDivs
0
106
Member Avatar for kylestudent

You can use floats, margins, and padding (along with vertical-align). Also, post some code and people will give you pointers/hints.

Member Avatar for Arkinder
0
76
Member Avatar for floatingDivs

Hey guys, I need some help in deciding whether Wordpress 3.1 is OK for full-time use. I realize it's in beta, but my mother's friend wants her static website turned into dynamic content via Wordpress. I don't mind 3.0, but I've heard really good things about 3.1, such as superior …

Member Avatar for blocblue
0
86
Member Avatar for kylestudent

Tables are NOT the way to go. Learn how to create websites with divs. They'll make your life a lot easier and the troubleshooting (if there is any) will be a breeze compared to tables (in my opinion). However, if you do decide to stick with a table layout, consider …

Member Avatar for techRobo
0
117
Member Avatar for sjeggels

[QUOTE=sjeggels;1471067]hey magicmedia your suggestion worked fine. my next question is how do i display post/comments of my blog on the index page of my website. thanks.[/QUOTE] Or you could, you know, read the documentation and find out yourself? [url]http://codex.wordpress.org/[/url] You'll thank me later.

Member Avatar for floatingDivs
0
173
Member Avatar for daviddoria

Just took a quick peek at your website. You should consider removing the height:80%; style from your "lightbox" class. If you go to your [url=http://ewh.ieee.org/r1/schenectady/New/Events.php"]upcoming events[/url] page, you'll see you have text continuing further down the line than the white content area.

Member Avatar for johnsteve.bravo
0
614
Member Avatar for f_atencia

Did you create a static version of whatever it is you're trying to generate with XML/XSL? I've learned my lesson...always make sure a static (HTML) copy works in all browsers before attempting to create it with XML/XSL. Paste your XML and XSL (separately...obviously) and I'll take a look.

Member Avatar for f_atencia
0
77
Member Avatar for Violet_82

Hi Violet82, I skimmed over the thread and tested out the HTML/CSS in the first post. It works fine in IE8 and Firefox. I realize the problem is IE7, but without sounding like a wise-ass, it should unless you're doing something wrong. At my job, we recently created a calendar …

Member Avatar for Violet_82
0
2K
Member Avatar for floatingDivs

Hi Daniweb, Have a quick question I'd like answered. Right now, I'm testing out liquid web sites on a smart phone powered by Android. When I load a (width:100%;) website with the smartphone being taller rather than longer, it comes out looking great. However, when I turn the smartphone 90 …

Member Avatar for lowcostdesign
0
98
Member Avatar for adnank

After viewing the page source, it appears you didn't properly close off your <a> tag. Also, you used <a [U]ref[/U]=...> instead of <a [U]href[/U]=...> [CODE] any notices to True Enterprises shall be given by email to <a [COLOR="Red"]ref[/COLOR]="mailto:[B][U][I][COLOR="Red"]<script type="text/css">[/COLOR][/I][/U][/B] [/CODE]

Member Avatar for adnank
0
113
Member Avatar for reemhatim

Good God! Why do you guys waste your precious time with this bullcrap? Don't help them if they can't help themselves. Prop open a book and read about classes. Once you read a chapter on classes, you're good to go assuming you know how to use arrays, what data types …

Member Avatar for reemhatim
0
200
Member Avatar for minimogul
Member Avatar for aamir2100

[QUOTE=shaya4207;1429939]:), My point is that it's not 'all' it does...[/QUOTE] Hi shaya4207, The reason it does more than just center the page (it also pushes the wrapper down by putting margin above it and below it) is because margin: 35px auto; means the following: margin-top:35px; margin-right:auto; margin-bottom:35px; margin-left:auto; margin:0 auto; …

Member Avatar for shaya4207
0
84
Member Avatar for ivan26

Well, technically, you shouldn't use arrays with a size determined through a variable. It should either be a defined constant(int a[5]) or (int a[SIZE]), but not a variable that [B]may [/B]get changed. If you don't know the size of the array at the start of the program, you should probably …

Member Avatar for floatingDivs
1
241

The End.