- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 9
- Posts with Upvotes
- 9
- Upvoting Members
- 3
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
- Interests
- Programming+PC Games+Music
- PC Specs
- Windows XP SP3 Intel Dual Core 2.5 GHz Mercury PI945GCM Motherboard Nvidia 1 GB card 2 GB RAM
21 Posted Topics
Re: [QUOTE=ladybix;1162072]Hi Bincy, I'm not an expert in Web Apps but I'm pretty sure, folders are not downloadable. You should first add it to a zip file and then download the zip. This should allow the user to download all your images. Hope that helped :-)![/QUOTE] I think you are absolutely … | |
Greetings people. I'm not new to this place. I've been visiting the forums frequently and have learned a lot of things just by observing the solutions of different people's problems. This is such a wonderful place to be. I thank the creators, staff members and the people who have been … | |
This is really a spoon feeding request. I'm in the process of learning regex, which will take time to perfect, but as of now I'm in immediate need of help to work on regex expression. Suppose I've a string like $str = "asggasdg46%dgeoweg5.3%sdgeoge4%kge"; In the above string, I need to … | |
Re: How about $q = mysql_query("SELECT sum(earnings_column_name) as earnings, date_format(date_column_name, '%b %Y') as month FROM table GROUP BY month"); while($r = mysql_fetch_array($q)) { echo 'Month: '.$r['month'].' --> Earning:'.$r['earnings']; echo '<hr>'; } | |
Re: Your question is quite confusing. Do you mean you want to display how many days left? Also you're saying `my system just display like 5 Days To Go` So in what format do you want it? | |
Re: Slow retreival of data can be attributed to many reasons. Some of them are: 1. Not using optimized query 2. Data set that is returned is very large 3. Slow connection It's difficult to pinpoint the problem without having a look at your code. | |
Re: (1)--> Put `session_start()` right at the top of the page, the first line of the page. (2)--> Replace $SQL = "SELECT * FROM tbl_user WHERE username = $username"; with $SQL = "SELECT * FROM tbl_user WHERE username = '$username'"; (Note the quotation marks) These two should do the trick. ![]() | |
Re: You could do something like this: $q = mysql_query("SELECT * FROM tablename"); $options = ''; while($r = mysql_fetch_array($q)) { $options .= '<option value="'.$r['id'].'">'.$r['columnValue'].'</option>'; } Then for HTML, you can do <select name="tby" size="1"> <?php echo $options; ?> </select> | |
I'm trying to execute a binary on my Linux web server. The binary is called 'phantomJS' which is used mainly to create screenshots of a webpage. I logged into my cPanel and found the following information about my server: Operating system : Linux Architecture : i686 So I went ahead … | |
Re: Try playing DotA on Garena client. The client is free and you level up by playing DotA. | |
Hello everyone. First, a little about me. I started off web development in .Net (C#) and found it to be not suiting my style. Then I moved on to PHP and instantly fell in love with it. I've been practicing it for the last 40-45 days and have covered up … | |
Re: Store the mysql query inside $query and it should do the trick. [code] $query = "UPDATE Liberty SET firstname='$FName' , lastname='$LName' , PatientPhone='$PatientPhone' , FacName='$FacName' , FacAddress='$FacAddress' , PatRoom='$PatRoom' , FacCity='$FacCity' , FacState='$FacState' , FacZip='$FacZip' , FacPhone='$FacPhone' , CaregiverName='$CaregiverName' , CaregiverContactPhone='$CaregiverContactPhone' , MedDispenseTime1='$MedDispenseTime1' , MedDispenseTime2='$MedDispenseTime2' , MedDispenseTime3='$MedDispenseTime3' , MedDispenseTime4='$MedDispenseTime4' , … | |
Re: The answer has already been posted, but for the sake of easiness I'm giving you the complete code: [CODE]if (mysql_num_rows($res) == 0) { echo"<script language='javascript'>window.alert('Invalid password.')</script>"; echo "<br>"; } else { echo "Access Granted"; echo "<br>"; }[/CODE] | |
Re: Put this just before the closing content div (line no. 47 of index.php): [CODE] <div style='clear:both'></div> [/CODE] | |
Re: Try putting echo before the retrieved values on line 21 and 36. Also, I don't see any use of ';' on line 26. | |
Re: This should do it: [CODE] <option <?php if ( get_settings( $value['id'] ) == $option) { echo 'selected="selected"'; } if($option == $value['std']) { echo 'selected="selected"'; } ?>><?php echo $option; ?></option> [/CODE] You had also forgot to close the opening 'option' tag. | |
Re: In other words, you just need to create the object and start using the object to get your tasks done. You can find a very easy explanation [URL="http://www.w3schools.com/ajax/ajax_xmlhttprequest_create.asp"]here[/URL]. ![]() | |
Re: Firefox FTW. Although I'm having second thoughts now. Its really slowing down my system of late. | |
Re: You mean check if the user has entered a valid username and password? (the one which exists in the database) | |
Re: I'm new to C#. I was wondering if using a Switch case statement would be more handy in this case or not? Wouldnt it narrow down the usage of if-else statements? | |
I'm glad I found this wonderful place. Hoping to contribute here as much as I can. Something about me now : [B]Name[/B]: Nisar [B]Nickname[/B]: asprin (origin=online games xD) [B]Height[/B]: 5'08'' [B]Hair[/B]: Black [B]Eyes[/B]: Brown [B]Age[/B]: 24 [B]Hobbies[/B]: Listening to music, going out with friends and family, movies, playing computer games. … |
The End.