939 Posted Topics

Member Avatar for scru

I have two divs in a page im building; both of which float to the left. My problems stem with the second (right-most) div, however. In firefox, the div will "drop" below the first one if it content gets to a certain amount. I think it is because the width …

Member Avatar for MidiMagic
0
121
Member Avatar for Serunson
Member Avatar for jbennet
0
332
Member Avatar for sneekula

Has anybody heard of this day? EDIT: yes I may have celebrated. it's not too far from my birthday

Member Avatar for sneekula
0
105
Member Avatar for budiman

First you calculate a timestamp integer from the old date (that is the number of seconds from January 1, 1970 00:00:00 GMT to the old date). Then you call the php function date() with a format string and pass in the timestamp. Like so: [code=php]$datestring = date("Y-m-d", $timestamp);[/code] See [URL="http://www.php.net/date"]here[/URL] …

Member Avatar for nav33n
0
73
Member Avatar for Lardmeister

For those who are determined human capacity to learn is finite, show me some hard evidence. For those who are determined human capacity to learn is infinite, show me some hard evidence. I may be wrong, and I really couldn't care less because I don't intend to test this scientifically, …

Member Avatar for jbennet
0
564
Member Avatar for GrimJack

Take the e out of databasing and you're all set for a word that doesn't exist

Member Avatar for Serunson
0
279
Member Avatar for kishou

you are doing the assignments in the reverse order. When you are assigning a vaule to a variable, you [B]must[/B] put the variable first, followed by an equal sign, followed by the value that you are assigning. Take the code: [code=php]$_POST["xtwo"]=$A;[/code] This doesn't assign anything to $A, but attempts to …

Member Avatar for nav33n
0
122
Member Avatar for Ancient Dragon
Member Avatar for nav33n
0
545
Member Avatar for The Dude

omg wth...it took about 3 minutes of playing to figure out what that game was about :-/

Member Avatar for nav33n
0
79
Member Avatar for stevex

I think this is the only one he made, it only seemed like two because the cyclops bumped it. Anyway seems like a nice project for those who have the time / resources

Member Avatar for Ancient Dragon
0
166
Member Avatar for sneekula

Voting in most cultures is a democratic act. Therefore forcing people to vote makes no sense in that light.

Member Avatar for sneekula
0
226
Member Avatar for guest11

What project are you trying to debug? A library or a winforms or wpf application?

Member Avatar for guest11
0
102
Member Avatar for snickeeee
Member Avatar for bjg5858

Try making your select statement into: SELECT * FROM dives ORDER BY date DESC replace date with the name of the field that holds the dates in your dives table, and also you can change DESC to ASC depending on which order you want it. Let me know if it …

Member Avatar for bjg5858
0
99
Member Avatar for FallenPaladin
Member Avatar for ConfusedMuchMor

Lol this one is funny. See this code: [code=C#] if ((wide == false) && (this.Width <= 500)) timer1.Start(); this.Width += 10; [/code] The C style brackletless block thing only works on the first line after the if statement, the second is not considered part of the if statement and executes …

Member Avatar for scru
0
86
Member Avatar for vardhani

you mean like [code=php] $_SERVER['SERVER_ADDR']; //or $_SERVER['DOCUMENT_ROOT']; [/code] ?

Member Avatar for FireNet
0
189
Member Avatar for ConfusedMuchMor

Couldn't read the solution, but for this kinda thing you might want to give WPF a shot. It has an animations engine that can handle this sort of thing with a breeze.

Member Avatar for scru
0
120
Member Avatar for scru

Something hit me today. I've already left A level college and I have no idea what I want to do as a career. Before, I used to tell myself "Software Engineering", but I think I knew a long time ago that it's not something I really want to do. Right …

Member Avatar for FireNet
1
150
Member Avatar for vardhani
Re: Form

javascript [url]http://www.daniweb.com/forums/forum117.html[/url]

Member Avatar for vssp
0
120
Member Avatar for Taffd

Use php to prepare the preview text and echo some javascript that will display the teaser. My suggestion if you are as unskilled in javascript as I am, would be to first let php echo some invisible divs each next to the thread link which will have the preview inside …

Member Avatar for Taffd
0
101
Member Avatar for ConfusedMuchMor

YOu have to press the "Show All Settings" checkbox at the bottom of the options box. It will appear under Text Editor > C#

Member Avatar for ConfusedMuchMor
0
119
Member Avatar for ConfusedMuchMor

A field is a variable that resides inside an object. [code=c#]fooObject.thisisafield;[/code] A method is a function that resides inside an object. [code=c#]fooObject.thisisamethod();[/code] Notice that methods have the parenthesis at the end. These are used to enclose paramenters. [code=c#]fooObject.multiply(num1, num2);[/code] They are left empty if the method does not expect parameters.

Member Avatar for JerryShaw
0
280
Member Avatar for Ancient Dragon
Member Avatar for scru

Is there a mechanism for counting requests to specific files on a server. What is it? Also, what if the file is not php? What if I wanted to count how many times an image or xml feed is requested? How do I do this?

Member Avatar for w_3rabi
0
113
Member Avatar for komox
Member Avatar for coolraj003

[QUOTE=jbennet;469757]Yeah OEM is tied to the hardware If you upgrade your CPU or Motherboarrd you will need to buy a new copy.[/QUOTE] [I]What?[/I]I thought they dropped that crap when people started complaining... :sweat:

Member Avatar for webbo
0
322
Member Avatar for ryy705

Do you mean like a terms and conditions / membership agreement? using a txt file is the easiest for this purpose. When it's time to display, you use php fgets to read it and then echo it to a textarea, div, or whatever you want to display it on. If …

Member Avatar for ryy705
0
137
Member Avatar for AskLeo

Yeh I had this problem, it's most likely as Arizona Web said with the MAX_FILE_UPLOAD in the php.ini since you said some files do upload. I think by default it is configured to accept 2MB or less.

Member Avatar for Dsiembab
0
328
Member Avatar for ConfusedMuchMor

it would be easy for me if you attached your sloution directory in a zip file. Thank you.

Member Avatar for JerryShaw
0
104
Member Avatar for ConfusedMuchMor

Because if it does that it would be guessing (do you want a guessing compiler?) It can't always be sure what you mean, so it doesn't know what to correct them based on.

Member Avatar for alc6379
0
129
Member Avatar for The Dude

Mouton, beef, both stewed and roasted, diff types of pie, ham for those of us who want that, buns, flavored rice, mango, breadfruit, black wine, black cake and rum. I can't wait....

Member Avatar for sneekula
0
163
Member Avatar for joshSCH

Just a little input with no scientific backing whatsoever. I'm from the Caribbean, so I'm not African American. However, we came from the same genetic background (Africa). Now, I can tell you that what you are saying is the exact reverse of what happens in my country. Although I've not …

Member Avatar for happygeek
0
783
Member Avatar for vardhani
Re: Form

just a bone, the opening tag, you have <? instead of <?php. I know this works on some configurations, but for maximum compatibility used <?php Otherwise, like that other dude said it seems just fine. Also, for this code to work you need to have an smtp server configured on …

Member Avatar for vardhani
0
143
Member Avatar for The Dude
Member Avatar for webguru07

use the unset() function. Like so: [code=php] unset($array[index]); [/code]

Member Avatar for nav33n
0
110
Member Avatar for ruman_eee

also, be careful to escape the quotes in the javascript block if necessary

Member Avatar for scru
0
122
Member Avatar for Barefootsanders

You are quite right. There is a control called FileSystemWatcher that you can use. Unfortunately, this computer only has Visual C++ installed, so I can't really give you an example in C# (having never used the control before). I'm not sure about the control's availability for WPF applications, but it …

Member Avatar for Barefootsanders
0
90
Member Avatar for ma7boob
Member Avatar for Ancient Dragon
0
219
Member Avatar for douchrti
Member Avatar for AKCotton

[QUOTE=TheNNS;481028]xp is probably the best choice right now, and with sp3 coming out it's supposed to bring a performance boost. long live xp.[/QUOTE] I wouldn't be so sure, SP2 brought a performance slump.

Member Avatar for PcPro12
0
131
Member Avatar for partyanimal

I don't really get what you mean. Maybe if you said what kind of calcculation you mean, andhow the ratio factors in

Member Avatar for partyanimal
0
169
Member Avatar for nmnative

Just a note to nmnative. I know you're new, but try to learn to use the code block. It makes your code easier to read, and copy and paste.

Member Avatar for nmnative
0
126
Member Avatar for sneekula

How the Grinch stole Christmas. The live action one. One of the great ones from when I used to love Jim Carey

Member Avatar for vegaseat
0
166
Member Avatar for wkid87

I found an error I think you should fix. Last line in InsertAtBack, shouldn't you be modifying lastNode and not firstNode? After that the linked-list works as it should, except it will print 32 when you call printfromlefttoright. That is because in that method you told it to print lastNode. …

Member Avatar for scru
0
116
Member Avatar for use4d

[quote=GrimJack;440893]What do you offer as proof of your statement?[/quote] Wow. Human density still surprises me to this day. I agree with MidiMagic. His statements are purely logical... Even my ValueBrand processor can understand them...

Member Avatar for jasimp
0
436
Member Avatar for The Dude
Member Avatar for vmanes
0
102
Member Avatar for outdatedtech
Member Avatar for The Dude

Like me being able to joust with my..erm...antenna. Ghosts are real. I saw one. Deal with it.

Member Avatar for sneekula
0
271
Member Avatar for The Dude

The End.