Search Results

Showing results 1 to 40 of 166
Search took 0.01 seconds.
Search: Posts Made By: Lafinboy
Forum: HTML and CSS Aug 25th, 2006
Replies: 1
Views: 11,732
Posted By Lafinboy
You can't preload with CSS, but the images will be cached after first load.

Depending on your server there are various ways to generate random backgrounds. I have a sample CSS Random Background...
Forum: ASP Aug 24th, 2006
Replies: 1
Views: 934
Posted By Lafinboy
Connection Strings (http://www.connectionstrings.com/) is the best place to find all your db connection strings
Forum: ASP Aug 24th, 2006
Replies: 2
Views: 1,770
Posted By Lafinboy
Forum: HTML and CSS Aug 22nd, 2006
Replies: 1
Views: 1,082
Posted By Lafinboy
If the Yahoo site builder tool took up too much of your ram then Dreamweaver will kill you!

Visit the Macromedia/Adobe (http://www.adobe.com/support/documentation/en/dreamweaver/) website for DW...
Forum: JavaScript / DHTML / AJAX Aug 8th, 2006
Replies: 2
Views: 4,240
Posted By Lafinboy
There are a couple of scripts here (http://www.web-source.net/web_development/currency_formatting.htm) that may help you out.
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
Happy to help.
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
Replace grade.php with this:
<?php

$link = mysql_connect("localhost", "****", "****", "****")
or die("Error ".mysql_errno().": ".mysql_error()."<br>\nThe SQL sent was: $result");
...
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
OK, so the page now shows the debug info correctly, and is showing that the values from the form are not being populated correctly. I've copied everything locally (including your database - you...
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
Noticed a typo in the code i posted. Change all instances of:
$_REQUEST['id']
to:
$_REQUEST[$id]
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
You haven't made any of the changes to the code I previously posted. Implement the changes I posted and it WILL work.
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
Probably because your code was wrong at that time. What is the debug output now? And can you post the full code to the grade.php page as you now have it.
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
OK, so put a bit of debug echo into the while loop to see what values are being passed through the form, what the database is sayinh the answer is, and whether they should in fact match up.

while...
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
After a closer look, you don't seem to be collecting the posted values from the form page, and so are not comparing them to your database values at any point.

Try this:
<?php
$link =...
Forum: PHP Aug 8th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
You've got the logic path mixed up, so you will always get a 0 score. Change:
$score = 0;
$total = mysql_num_rows($result);
$finalScore = $score * 10; // this line needs to moved

while ($row =...
Forum: PHP Aug 7th, 2006
Replies: 21
Views: 3,151
Posted By Lafinboy
Well I've got a beer in front of me, all I need it a sad story so I can start crying into it:D

As my old grandmother used to say - "a problem shared is a problem halved" - so come on, let's have...
Forum: HTML and CSS Aug 6th, 2006
Replies: 2
Views: 1,702
Posted By Lafinboy
Confirmed +1. All looks the same in FF, IE6, IE7b3.

Note that your Flash is triggering the Eolas patch in IE7b3, requireing users to click on the Flash to view it. There are several ways to avoid...
Forum: PHP Aug 4th, 2006
Replies: 2
Views: 4,040
Posted By Lafinboy
@titu - requests of this nature are usually met with responses like:
"Please send me $15.00 and I will forward you the script".

This is not the way the forums work. If you have a question we can...
Forum: PHP Aug 3rd, 2006
Replies: 12
Views: 4,314
Posted By Lafinboy
What are the search parameters you want to handle? Does the single search box mean that users will only search on firstname, or possibly firstname and lastname, or possibly lastname only? Or all...
Forum: PHP Aug 3rd, 2006
Replies: 12
Views: 4,314
Posted By Lafinboy
You'll need to use a bit of conditional testing to build the appropriate sql string based on the submitted search terms. A simplified example shown below assumes the user can chooseto search on...
Forum: ASP Aug 2nd, 2006
Replies: 1
Views: 1,069
Posted By Lafinboy
Why not just apply the style directly to the button in the page? If you can explain the reason for hidding/displaying the button we can give a more suitable response.
Forum: JavaScript / DHTML / AJAX Aug 2nd, 2006
Replies: 4
Views: 3,750
Posted By Lafinboy
A Google for "javascript redirect" would have answered yor question much quicker than posting here.

window.location="http://www.yourdomain.com/";
Forum: JavaScript / DHTML / AJAX Jul 31st, 2006
Replies: 7
Views: 1,908
Posted By Lafinboy
Care to give a bit more information?
Forum: HTML and CSS Jul 30th, 2006
Replies: 1
Views: 937
Posted By Lafinboy
In short - you can't.

You could (and this is a long way around) pass a parameter through the link that is tested for in the receiving page. If it is found then css is used to set the values of the...
Forum: ASP Jul 30th, 2006
Replies: 4
Views: 3,820
Posted By Lafinboy
You will need to replace the ampersand in the string with a 'safe' character before you use it in the querystring, and then change it back when you use the querystring value. For example:

<a...
Forum: ASP Jul 29th, 2006
Replies: 4
Views: 3,016
Posted By Lafinboy
You need to change the settings in your browser so that the entry for 'Show Friendly HTTP Error Messages' is unchecked.

In IE navigate to:
Tools > Internet Options > Advanced : scroll down to the...
Forum: PHP Jul 29th, 2006
Replies: 1
Views: 2,293
Posted By Lafinboy
A couple of options here. You can use a pure javascript solution that stores all of the data in JS arrays and builds the selects dynamically, or you can use AJAX so that the page submit from the...
Forum: HTML and CSS Jul 29th, 2006
Replies: 1
Views: 4,429
Posted By Lafinboy
Google will be yout best friend here. Depending on your specific requirements, some things to search for may be:
dhtml menu
son of suckerfish
Forum: HTML and CSS Jul 29th, 2006
Replies: 2
Views: 2,350
Posted By Lafinboy
There doesn't appear to be anything wrong with your conditional comment, other than it comes before your embedded styles, and so matching definitions in each set will be overwritten by the embedded...
Forum: HTML and CSS Jul 28th, 2006
Replies: 15
Views: 32,409
Posted By Lafinboy
Adding the following parameter to your flash object:
<param name=wmode value="transparent"> should work for most browsers.
Forum: PHP Jul 28th, 2006
Replies: 10
Views: 2,984
Posted By Lafinboy
Schools, businesses and publicly accessible pc's have a firewall with restricted traffic streams on them for a reason - to stop abuse, reduce bandwidth and prevent virus infection. If you have a...
Forum: PHP Jul 28th, 2006
Replies: 4
Views: 1,123
Posted By Lafinboy
Take the warning suppression marker (@) out of this line of code:
$result = @mysql_query($query,$link); so that you can see the error.
Forum: ASP Jul 28th, 2006
Replies: 4
Views: 3,016
Posted By Lafinboy
What error are you getting? That will narrow down the range of possible answers we need to give you.
Forum: ASP Jul 28th, 2006
Replies: 2
Views: 11,867
Posted By Lafinboy
Your best bet would be to use the regular expression object to find matches to the pattern you want. An example script is included below.
<%
dim sampletext, objRegExp, SearchPattern,...
Forum: HTML and CSS Jul 28th, 2006
Replies: 2
Views: 1,432
Posted By Lafinboy
Sounds like an error in the php that is handling the form submission, not the select element.
Forum: PHP Jul 25th, 2006
Replies: 6
Views: 2,468
Posted By Lafinboy
There is no problem here, you are just not generating any content to display on the page. You will only get generated content if there is an error in either the connection to the server, or there is...
Forum: ASP Jul 20th, 2006
Replies: 1
Views: 1,185
Posted By Lafinboy
Sounds like a load of gibberish....sorry!

Relating your problem to somebody elses doesn't help us determine what your problem is, or even what you are asking.

Perhaps a more logical...
Forum: ASP Jul 17th, 2006
Replies: 3
Views: 1,741
Posted By Lafinboy
Have a quick google for the functions DatePart and DateAdd.

DatePart will help you format a given date in the format you require it.
DateAdd will add (or substract) a given time period (seconds,...
Forum: PHP Jul 17th, 2006
Replies: 2
Views: 3,078
Posted By Lafinboy
Have a look at the source that is generated by the above code. You will no doubt see that there are errors in the generated source caused by escaped/unescaped characters from the database.
Forum: HTML and CSS Jul 17th, 2006
Replies: 6
Views: 21,982
Posted By Lafinboy
Would need to see the page as you have it to answer accurately.

Provide a link to the page, or attach as file.
Forum: PHP Jul 15th, 2006
Replies: 4
Views: 1,459
Posted By Lafinboy
PHP has a standard (free) library designed for image manipulation - GDImage.
There are a number of tutorial scripts available for creating thumbnails from uploaded images. Have a trip through google...
Showing results 1 to 40 of 166

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC