- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 33
- Posts with Upvotes
- 28
- Upvoting Members
- 21
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
I'm complicated...not enough space :-)
- Interests
- Hiking, camping, marksmanship
- PC Specs
- home-made
342 Posted Topics
Re: you should be able to simulate the computer input "manually" to verify it's functioning before frustrating yourself by chasing a phantom. That's troubleshooting 101. Keep cutting the problem in half. Verify what works vs. what doesn't. Then continue to break down the components of the non-working section, etc. In your … | |
Re: How does this SQL work? did you try doing var_dump($news); [CODE] cn = connect_db(); $cn_sql = "SELECT message from messageboard"; $con_res = mysql_query($cn_sql); $news = $con_res; [/CODE] Assuming that you wrote your own db connect somewhere and it is correct, Your out put is a mysql resouce, an probably an … | |
Re: [QUOTE=dasatti;967079]One of the reasons that invalid result set is returned could be you are comparing a string value with an integer type field in database. Make sure that if the id field in flowchart table is int then use this statement [icode]$checkquery = "SELECT * FROM flowchart WHERE id = … | |
Re: You have boolean inside the argument. try this: [CODE] var_dump($result); //check what is coming from the query,if anything if(mysql_num_rows($result) = 1) ; //It's a value result , not boolean [/CODE] | |
Re: You need to explain your problem better. As it is, You get all of the student sthat voted order listed by dept. What else are you trying to do? It's not clear... | |
Re: How about defining the ENTIRE code a a void function which drops through to the "restart" decision block. If yes, RECALL THE FUNCTION, else return 0; which will drop you out of int main(). I think this solution is more in line with OOP. | |
Re: Keep dividing by "test numbers" until the modulus and the test number are equal. Of coarse things will get a bit stickier when the square root is a non-integer... | |
Re: Why not put the questions in a database table and randomly select the row id? | |
Re: The only problem is, the marque tag is not valid html. You would have to construct something from javascript as an equivalent. | |
Re: >Here's what I've come up with so far Somehow I find it hard to believe that you can write IsPrime but not the main driver to print the primes in the range [0..100). I'm guessing you were given IsPrime and told to write main, which means ***you've*** come up with … | |
Re: [QUOTE=maunica;1216408]hi all, I am a new learner of php. I m currently working on my 1st php project.project is all about a website development.The site is still underdevelopment. I want to include counter in m website in order to know the number of visitors.I am continuously searching for a snippet.Please … | |
Re: Perhaps with the nested CSS, something was not defined before implemented? Also, you have two definitions for nt_op. | |
Re: [QUOTE=vinayakgarg;1509554]Well the code is the usual... html with div tag having a id="footer" and a separate css file with [CODE=css] #footer{ width:100%; } [/CODE] its not just with my code i guess. i have seen this "simple little common" problem elsewhere also. Hope someone gets it. Apologies if my post … | |
Re: simple random word math problems work well against bots. They are simple and not difficult to figure out like captch forms. Sometimes I have to scroll through 3 or four captch selections before I'm sure that I know what it is. The funniest one I ever saw, was a simple … ![]() | |
Re: Wherever you found that, just select "view source code" to see the code involved. For a more in depth look get an add on for firefox like "web developer" which alows you to easily drill down into the inner workings of a site. | |
Re: line 257 has <p> but no terminating </p> Stuff like this can cause bizarre effects. | |
Re: [QUOTE=danny5514;1445375]hi all all i want to do is create a simple html form and submit it direct to a forum thread i have created can anyone help or is it not possible the idea is that someone can post a result of a game they have played without going to … | |
Re: [QUOTE=mudage10;1423814]hello, i am in last year, computer science(Rwanda) does any one help me to find the subject proposal in computer science? i would like to develop an internet system by using languages like html, php,mysql,.. . thanks.[/QUOTE] Isn't that what you went to school for? | |
Re: [QUOTE=suavedesign;1421301]cfajohnson: The percentage is relative to the entire browser, or the element that is containing it? (I.e. An element inside a main wrapper div is 20% of the entire browser, or 20% of main wrapper div?) Thanks[/QUOTE] nested divs are relative to the closest outer div only, i believe. | |
Re: [QUOTE=tcollins412;1418789]oops forgot to end the td sorry[/QUOTE] Looks like you forgot the <tr> </tr> as well. The rounded corner CSS is not widely supported at this time, which means that not everyone will be seeing the same thing. You have to design websites to accommodate the least common denominator of … | |
Re: try using percentages instead of px wherever possible. | |
Re: Mysqli has it's own special PHP methods. I think you are getting an error because you are out of scope. [URL="http://us3.php.net/manual/en/book.mysqli.php"]mysqli[/URL] The fix may be as simple as: [CODE]$fusername = mysqli_real_escape_string($_POST['fusername']);[/CODE] Add the i onto all instances of mysql_real_escape_string Hope that was it. | |
Re: did you see this? [URL="https://help.ubuntu.com/community/ApacheMySQLPHP"]Ubuntu server stack[/URL] Seems that the folks at Ubuntu have a plug n' play LAMP server in the repository, ready to go. This article also describes how to do apache only. (I don't reccomend that, since you will eventually want PHP and MYSQL anyway.) . At … | |
Re: Welcome to the club! Ie is notorious for poor support of the w3 standards. MS has built a hack into their browsers that can read alternate CSS files, called conditional comments. These are only "seen" by IE browsers. take a look [URL="http://www.webdevout.net/css-hacks"]here[/URL] Then the question is, just how many IE … | |
Re: There seem to be more than one problems with that code. there are <center> tags with no </center>, there is probably more serious issues as well. I agree that there is some thing wrong at the start. If that code is meant to be stuffed into an associative array cell … | |
Re: Teedoff is correct. I just want to add that the form must be enclosed by the img div [CODE] <div id ="img"> <!-- style this with the background in CSS --> ... all code in between ... </fieldset> </form> </div> </div> <!-- this is the closing of the img div … | |
Re: If you want the label next to the input within the cell, then don't separate them with a td tag. Make it one big cell. [CODE]<tr><td> <label for="add_street" style="font-size:12px;vertical-align:middle;padding-left:2px;">Street</label> <!--removed the cell separation. add padding as neeeded--> <input name="add_street" type="text" style="vertical-align:middle" value="" size="35" maxlength="50"/> </td></tr>[/CODE] In fact, to further simplify … | |
Re: [QUOTE=ubi_ct83;1349621]hi all, i dont know how to get the right title of this thread.actually i wanna create a web-based system.i want to combine php n java.but for ui,i want to use html.anything that could help me like tutorial,example of web page code or any else? i appreciate if sumone could … | |
Re: Maybe there is a border built into the images? | |
Re: If you right click on that effect, you will see that it is a flash player entity. The pugin author comes up too. | |
Re: That code is somewhat mangled. You have a class, then a style, then an ID ? Not to mention the other stuff that isn't valid CSS! Also, you didn't include the CSS file. ( who knows what surprises lurk in there!) Try running this though a validator, then get back … | |
Re: [QUOTE=jacks smith;1337088]Hello friends, I have runing a site, i am using JavaScript slideshow with huge images, it's take near 9 second to be load, what i will do so it will load quickly without removing images.[/QUOTE] Not a lot of detail in your question to be able to give a … | |
Re: [QUOTE]Hand coding does not have to be that slow...too often you need similar elements - navigation, contact form...so you can have ready made code for all of these and just tweak it as needed. [/QUOTE] Yes. Cut 'n paste repetitive things like forms and tables, tweak the parameters the parameters … | |
Re: Is there any particular reason that you chose not to use the code tags? Most people won't open attachments, so you will get less help. | |
Re: I've read in this forum forum that Cs5 is rather clunky if you are trying to do something very customized. There is no substitute for knowing what you are doing! Keep up the learning and you will be able to evaluate the usefulness (or lack thereof) of the IDEs that … | |
Re: Why not add overflow:hidden to the content class? ![]() | |
Re: It may be a syntax problem. try: [CODE] #footer { position:relative; height:362px; width: 100%; background:url('../images/footer_bg.jpg') ; background-repeat:repeat-x; } [/CODE] | |
Re: There's no doctype. This may produce unexpected results. I agree that the table is unnecessary. | |
Re: ?! The first two URLs look the same to me. Besides, they are images, no code. Not too much anybody can do with that! | |
Re: [QUOTE]"total new thing for me", I do not believe your teacher would give you assignment without any lectures forehand on topic. So show some effort instead of crying "Its due by today... So please if anyone there to help? " and maybe somebody will take pity on you[/QUOTE] Not only … | |
| |
Re: I had something like that happen and turned out that it was due to extraneous code which was confusing the browser. I inadvertently had nested body tags! It worked most of the time too. I only way I found it was by looking at the rendered page source. | |
Re: Those items are probably contained within different "block" elements such as a div or p when the page is rendered. This will force a new line. The page source will show you what is happenening. | |
Re: Is this project part of a cms or blog framework? Otherwise, it must be magic. | |
Re: Try this: I shortened the file to only directories BELOW doc root. Apache can only serve files found in or below doc root. All references are relative to that point. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel ="stylesheet" href="/foo/forum/styles/AutoWidth/theme/normal.css" type="text/css" title="A" /> <title>My Title</title> </head> <body> … | |
Re: Well you being a prince and all, you should have more resources at you disposal than us unwashed masses! I'll help you because I'm just that kind of guy... Hint 1: CSS= cascading style sheets. It is a helper, so to speak, but the actual design is done with the … | |
Re: Don't know exactly what you have by the tail there, but one approach might be to figure out what the max number of characters will be and do a width percentage that will accommodate them. Of coarse, all of the td elements will have to add up to 100% or … | |
Re: Is your CSS defined with link and visited both set to purple at present? Maybe the browser does not understand the color keyword? Try doing the color in hex format. The CSS should override everything and give you the right color. What happens if you refresh th browser screen? | |
Re: The form as it is presented in the email is completely controlled by the php script. It has nothing to do with the orginal html/css that collected the data. You can use HTML in it if wish, or just format it in plain text. |
The End.