- 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
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. |