Forum: ASP.NET 3 Days Ago |
| Replies: 1 Views: 218 Windows Server 2003 Standard Edition Service Pack 2
SQL Server 2005 Standard
VS 2008
Hi everyone. I'm currently working on the following tutorial:... |
Forum: ColdFusion Sep 24th, 2009 |
| Replies: 3 Views: 658 It's unique to your area. Go to job sites like Monster.com or careerbuilder.com. Search different web development languages. Does coldfusion list 100 jobs? Does php? What about .net? If you are... |
Forum: ColdFusion Sep 14th, 2009 |
| Replies: 4 Views: 1,030 Then you'll need one unique name for each group of radio buttons (each game):
<cfset i = 1>
<cfloop query="Picks">
<cfoutput>
<tr>
<td><div class="content_black">Game #Game# </td>... |
Forum: ColdFusion Sep 11th, 2009 |
| Replies: 4 Views: 1,030 Right now you only have 1 radio group with only 1 possible value. Split them up by renaming from mainloop to mainloopH and mainloopA like below:
<td><div class="content_black"><cfinput... |
Forum: ColdFusion Sep 11th, 2009 |
| Replies: 1 Views: 700 So you want to add a static row after the query output? Post some code to give an idea of what you are trying to accomplish. |
Forum: ColdFusion Sep 11th, 2009 |
| Replies: 1 Views: 642 The lock is written into the query. You'll need to check into the correct syntax for your specific database. |
Forum: PHP Sep 3rd, 2009 |
| Replies: 4 Views: 268 http://www.sitepoint.com/article/guide-url-rewriting/ |
Forum: PHP Aug 18th, 2009 |
| Replies: 12 Views: 367 <a href="\inventory.php?id=" . $id . "\"><?php echo $row_rsAllListings['element_1_1']; ?></a>
Why do you echo $row_rsAllListings['element_1_1'] but you don't echo $id? Check the link href value... |
Forum: PHP Aug 15th, 2009 |
| Replies: 3 Views: 508 Numeric datatypes will never have leading zeros. You could add a dummy number to the front and just remove with substr when outputting it.
$new_id1="12";
$new_id2="345";
$zero="0";
... |
Forum: PHP Aug 5th, 2009 |
| Replies: 4 Views: 439 Well, if the page is .htm and the server is not set up to parse php in .htm files, just use a meta refresh:
<html>
<head>
<meta http-equiv="refresh"... |
Forum: ColdFusion Aug 2nd, 2009 |
| Replies: 2 Views: 980 Why do you need regex for this? Can you not use basic string functions like LEFT, MID, and RIGHT? |
Forum: PHP Jul 31st, 2009 |
| Replies: 4 Views: 462 Don't store images in a database. Is it a picturebase or a database???
Seriously, store the path to the pic in the db, store the pic on the server. The db is designed to store data. The server is... |
Forum: PHP Jul 28th, 2009 |
| Replies: 4 Views: 462 You haven't specified an image: "<img src=/em/tutor/images/".
only specifies the folder that the image should be located. |
Forum: PHP Jul 24th, 2009 |
| Replies: 8 Views: 325 http://www.dreamincode.net/forums/showtopic10132.htm
This tutorial is easy to follow and will teach you how to write a tab delimited text file with a xls extension in php. It uses basic php text... |
Forum: ColdFusion Jul 21st, 2009 |
| Replies: 2 Views: 719 Wordpress is php dependent, so I'd imagine you'd need to make sure php is installed on the server. The site lists the minimum requirements to run Wordpress on a server.... |
Forum: PHP Jul 21st, 2009 |
| Replies: 8 Views: 457 The php mail function works great for a contact page on your site that will send the email to your sites MX. However, when sending to other mail servers such as yahoo, gmail, hotmail... it's not... |
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2009 |
| Replies: 2 Views: 315 You could also do this with frames |
Forum: PHP Jun 17th, 2009 |
| Replies: 5 Views: 280 You need JavaScript (unless you're comfortable with the page reloading on each change). |
Forum: HTML and CSS May 15th, 2009 |
| Replies: 2 Views: 513 http://www.search-this.com/2007/03/12/no-margin-for-error/ |
Forum: ColdFusion May 1st, 2009 |
| Replies: 1 Views: 805 AJAX (Asynchronous JavaScript And XML) |
Forum: PHP Apr 30th, 2009 |
| Replies: 20 Views: 42,061 Jeez how many times can this thing get bumped? It's almost 3 years old!!! |
Forum: PHP Apr 30th, 2009 |
| Replies: 6 Views: 1,356 You'll have to use your isp's SMTP server.
See here:http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html |
Forum: HTML and CSS Apr 20th, 2009 |
| Replies: 3 Views: 530 The table height attribute has been deprecated. It still works fine, but it is not valid in XHTML. Use a CSS style to set the table height:
<table style="height:100%"
The basic idea is for html to... |
Forum: ASP.NET Apr 10th, 2009 |
| Replies: 8 Views: 4,106 mail2saion, many thanks for bumping this thread to promote your blog. |
Forum: VB.NET Apr 2nd, 2009 |
| Replies: 2 Views: 842 Here's (http://www.vb-helper.com/howto_net_get_drive_information.html) a tutorial. Make sure you add the COM reference that it talks about in the first paragraph.
This is what it showed for my... |
Forum: VB.NET Apr 2nd, 2009 |
| Replies: 5 Views: 1,319 You mean like:
arr2 = arr1 |
Forum: MySQL Apr 2nd, 2009 |
| Replies: 6 Views: 585 Well, if the uid is a numeric datatype, you could use:
SELECT COUNT(uid) FROM tracking WHERE uid = $trackuid
If not numeric, you'll have to surround with quotes:
SELECT COUNT(uid) FROM... |
Forum: MySQL Apr 2nd, 2009 |
| Replies: 1 Views: 426 I will restrain from lecturing on normalization (http://dev.mysql.com/tech-resources/articles/intro-to-normalization.html). I assume you've probably never heard of it but I'd highly recommend looking... |
Forum: MySQL Apr 2nd, 2009 |
| Replies: 6 Views: 585 Count is an aggregate function. It's not going to return anything from the database. It's only going to count the number of records matching your criteria and return the total. |
Forum: MySQL Apr 2nd, 2009 |
| Replies: 2 Views: 722 If you have phpmyadmin, you can also upload the csv through it. |
Forum: PHP Apr 2nd, 2009 |
| Replies: 20 Views: 789 Here's a possible solution.
Step 1, Create an empty array.
Step 2, Evaluate each checkbox in a loop. If empty, push a 0 into the array. Else, push a 1 into the array.
Step 3, Implode the array... |
Forum: ColdFusion Apr 1st, 2009 |
| Replies: 3 Views: 867 Well you have to come up with some type of criteria for the script to decide which folder to choose. |
Forum: ColdFusion Apr 1st, 2009 |
| Replies: 3 Views: 867 elseif implies that you have multiple conditions to check. Example:
<cfif color is "green">
<cfset colorscheme = "white">
<cfelseif color is "blue"><!---Notice how there is a statement... |
Forum: PHP Mar 30th, 2009 |
| Replies: 2 Views: 367 You could use a meta refresh or JavaScript's window.location. Both are used by DaniWeb during login (depending on whether or not you have JavaScript enabled).
Login. When you get to the page that... |
Forum: PHP Mar 29th, 2009 |
| Replies: 4 Views: 335 Adobe Flash, JavaScript, HTML 4.01 Transitional, CSS, and PHP.
Yeah he probably is promoting his site, but the links on DaniWeb are no-follow, so it wont improve the Search Engine rank. |
Forum: PHP Mar 29th, 2009 |
| Replies: 8 Views: 1,255 Echo the variable into the xml.
<?php $imagea= 'http://localhost/personal_trainer_system/images/Bench.jpg'?>;
myImage['blue'] = new Image();
myImage['blue'].src = <?php echo $imagea; ?>; |
Forum: PHP Mar 29th, 2009 |
| Replies: 8 Views: 1,255 You'll either have to give the xml file a .php extension, or set Apache to parse php in xml files. This can be done with the http.conf file or with a .htaccess file. If you don't have access to the... |
Forum: PHP Mar 26th, 2009 |
| Replies: 3 Views: 364 I've always found that email clients remove quotes from attribute values and some, like hotmail, actually change the values. The only solution that I've found is to not surround values in quotes.... |
Forum: HTML and CSS Mar 24th, 2009 |
| Replies: 2 Views: 1,594 By default, divs are block level elements, and won't allow other elements to lay next to them. You can fix this by setting the inner divs style to either float:left and float:right, or you can use... |
Forum: HTML and CSS Mar 21st, 2009 |
| Replies: 6 Views: 522 Change your css back to what you had before and then add this:
ul ul{
padding-left:20px
}
Adjust the padding to your needs. |