939 Posted Topics
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 … | |
Re: omg dude i still gotta laern to drive (grats to Serunson). | |
Re: Has anybody heard of this day? EDIT: yes I may have celebrated. it's not too far from my birthday | |
Re: 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] … | |
Re: 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, … | |
Re: Take the e out of databasing and you're all set for a word that doesn't exist | |
Re: 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 … | |
Re: I thought it was funny. Cocky guy right there. His smirk rivals George Bush's. | |
Re: omg wth...it took about 3 minutes of playing to figure out what that game was about :-/ | |
Re: 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 | |
Re: Voting in most cultures is a democratic act. Therefore forcing people to vote makes no sense in that light. | |
Re: What project are you trying to debug? A library or a winforms or wpf application? | |
| |
Re: 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 … | |
Re: 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 … | |
Re: you mean like [code=php] $_SERVER['SERVER_ADDR']; //or $_SERVER['DOCUMENT_ROOT']; [/code] ? | |
Re: 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. | |
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 … | |
| |
Re: 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 … | |
Re: YOu have to press the "Show All Settings" checkbox at the bottom of the options box. It will appear under Text Editor > C# | |
Re: 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. | |
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? | |
Re: [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: | |
Re: 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 … | |
Re: 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. | |
Re: it would be easy for me if you attached your sloution directory in a zip file. Thank you. | |
Re: 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. | |
Re: 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.... | |
Re: 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 … | |
Re: 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 … | |
Re: use the unset() function. Like so: [code=php] unset($array[index]); [/code] | |
Re: also, be careful to escape the quotes in the javascript block if necessary | |
Re: 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 … | |
| |
Re: [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. | |
Re: I don't really get what you mean. Maybe if you said what kind of calcculation you mean, andhow the ratio factors in | |
Re: 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. | |
Re: How the Grinch stole Christmas. The live action one. One of the great ones from when I used to love Jim Carey | |
Re: 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. … | |
Re: [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... | |
Re: Like me being able to joust with my..erm...antenna. Ghosts are real. I saw one. Deal with it. | |
The End.