- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am a working student.
- PC Specs
- Usually my little Asus EeePC 904HD.
30 Posted Topics
Re: ^ Must be a C# guru < Is not a dude! V Is hungry | |
Re: Why do you want to use a [I]foreach [/I]loop is in this case? If I were you I would do a [I]for [/I]loop from 0 to size of your arrays and use that index to get the same position values in both arrays. | |
Re: I guess the most popular way to do this is to use flash. Check out for example [URL="http://www.longtailvideo.com/players/jw-flv-player"]this player[/URL]. Also: [URL="http://flash-mp3-player.net/"]MP3 player.[/URL] [URL="http://www.flashmp3player.org/"]FREE Flash MP3 Player[/URL] Good luck! | |
Re: Just a quick thought: you can explode your search term in to words and check with each of them. | |
Re: Can you post a snippet of your code? Maybe your array with index 'daysOfMonth' is not in your form and was not passed with _POST? | |
Re: What doesn't work exactly? You get a PHP or Sql error code or you get no results when you should be? Edit: ok, you got a solution now :] Ignore this message :] | |
Re: You need a JQuery for this. Check out these links: [URL="http://www.ajaxlines.com/ajax/stuff/article/autopopulate_select_dropdown_box_using_jquery.php"]JQuery[/URL] [URL="http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/"]JQuery and AJAX[/URL] And also these topics might be useful: [URL="http://www.daniweb.com/forums/thread57964.html"]Multiple combo box[/URL] [URL="http://www.daniweb.com/forums/thread193888.html"]AJAX PHP multiple dropdown[/URL] | |
Re: Works good for me... I have noticed $appId variable. Maybe you are using it for a Facebook application? | |
Re: Firstly I don't understand why in one place you set $description2 but everywhere use $description? The same with $image. Check the names, are they really correct? Don't know what your function uploadImage() returns, but in the database you need to store only the picture name. Take a look at [URL="http://www.w3schools.com/PHP/php_file_upload.asp"]this … | |
Re: Simply, target="_blank"? [CODE]<a href="your_link.html" target="_blank">Link text</a>[/CODE] | |
Re: You don't need to repeat <? ?> tags in a print output, it should be a string. Also, you don't call your showLink() function so it is not executed. Try this: [CODE]<?php if (isset($_POST['submit'])) { if(isset($_POST['site'])) { $site = $_POST['site']; $ip = gethostbyname($site); showLink(); function showLink(){ print "<a href=".$ip.">".$ip."</a>" or … | |
Re: Maybe stupid question, but have you changed a website URL on your site [URL="http://www.facebook.com/developers/apps.php"]facebook application profile[/URL]? | |
Re: #about element is already in opacity: 1, so you don't see any animation. Try this and you should see your text fading out: [CODE] $(document).ready(function() { $("#abouttrigger").click(function(){ $('#about').animate( { opacity: 0 }, 2000); }); }); [/CODE] If you need just a fade in effect then you can try: [CODE] $(document).ready(function() … | |
![]() | |
Re: I guess [URL="http://www.w3schools.com/js/js_form_validation.asp"]this page[/URL] should give you a clue how to do a dynamic validation of your fields in JavaScript. And for the form submit and excel output you should use a PHP. There is a library called [URL="http://phpexcel.codeplex.com/releases/view/46345"]PHPExcel[/URL]. [URL="http://phpexcel.codeplex.com/wikipage?title=Examples"]Maybe it will help you in your case.[/URL] | |
Re: In general i think that the simplest way is to add ?param=value&another_param to your link and then take the values from it with [URL="http://php.net/manual/en/function.parse-url.php"]parse_url[/URL]. Hope it helps. | |
Re: [URL="http://php.net/manual/en/book.pdf.php"]Here are all the functions you might need.[/URL] And to get started: [URL="http://www.php.net/manual/en/pdf.examples-basic.php"]an example[/URL]. Hope it helps... | |
Re: Try JQuery to get and set values dynamically. Take a look at this [URL="http://elegantcode.com/2009/07/01/jquery-playing-with-select-dropdownlistcombobox/"]article[/URL]. Hope it helps... | |
Re: I use one tool to change the style dynamically and find design solutions. It is called Firebug. It's a browser plug in for a Mozilla. Give it a try and you will be able to analyze working examples to get your menu work and learn new things. (Sorry for mentioning … | |
Re: Just do a onClick action and call a JavaScript function. If you need more information about the cookies + JavaScript, take a look at this [URL="http://www.elated.com/articles/javascript-and-cookies/"]article[/URL]. By the way, this is a PHP section. DaniWeb has a Javascript section so you should have posted there. Good luck. | |
Re: Each submit button belongs to a certain form tag. Your button belongs only to a parent <form> so while clicking nothing happens as the form has no action. My suggestion would be to use a JavaScript and change the action link dynamically on the radio button check. Sorry if I … | |
Re: Don't know if I understood well, but I guess you need a JavaScript if your highlight should happen dynamically (on the same time person enters the search word). If so, try to Google for JavaScript text highlighting. | |
Re: You should have a form which allows user to upload a picture and enter it's code. Your form should include a upload button and a text field for a code. Your script should take the code entered and the image name, generate the current date and put these three data … | |
Re: You should read every number from the first file and compare each of it with the first one's of the second file. When you find a mach, you do a replace. I am not sure where do you have your problem: in understanding what to do or in writing a … | |
Re: [code] import java.util.*; public class RadomNumbers { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String [] numbers = {" ", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"}; Random rand = new Random(); int num = rand.nextInt(10)+1; System.out.println("Generated Random … | |
Re: You are using JavaScript to do your calculations, so I guess you should try JavaScript/DHTML/AJAX section for a help. | |
Re: While compiling I got an error on ourCrt. Try this: [code] program dowhile; {$APPTYPE CONSOLE} uses SysUtils, Crt; var my_words : string; begin my_words := ''; writeln('Enter some words (type "stop" to finish):'); readln(my_words); while (my_words <> 'stop') do begin ClrScr; Writeln('You typed:'); writeln(my_words); writeln; writeln('Enter some words (type "stop" … | |
Re: If you need to count just lines in a file, you can use: [code] while (!dataFile.eof()) { [INDENT]getline(dataFile, codeLine); linesNumber++;[/INDENT] } [/code] codeLine - string type. | |
Re: Chash happens because everytime you want to print GPA, you try to print out a float number as a string. [code]printf("\nGPA: %s", temp_array[i].GPA);[/code] Instead of %s use %f. |
The End.