Search Results

Showing results 1 to 40 of 54
Search took 0.01 seconds.
Search: Posts Made By: HazardTW
Forum: PHP Oct 23rd, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
The solution I sent him does :)
Forum: PHP Oct 21st, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
Mail sent.

Not sure if it would matter or not, but I requested a PM (private message) with your email in order to keep your email addy out of the public forums where bots can get to it, you may...
Forum: PHP Oct 21st, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
Forum: PHP Oct 17th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
Ok, got something worked out but it doesn't quite display correctly when I insert the code into the post.

If you PM me with an email address I will zip the example files up and send them to you.
Forum: PHP Oct 16th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
Ok, I am close to a solution but must go to work.

I will finish when I get home tonight.

I will not be able to write the exact query strings because I am not 100% comfortable that I understand...
Forum: PHP Oct 15th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
There is a little bit of a language barrier, I am not completely clear on the menus.
Are there four menus with three being dynamic, or three total.

So far I gather that you may have:
- Firm menu...
Forum: PHP Oct 14th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
The idea behind my last example is that when the page is loaded by the client, the PHP would build ALL the js variables from your database queries by echoing them into the js part of the document....
Forum: PHP Oct 13th, 2008
Replies: 6
Views: 876
Posted By HazardTW
Sorry about that!

It was late, I was tired, didn't realize that `vehicles` was the table name, thought he was trying to sort by multiple fields, ie. `vehicles` field, then `$sort` field.
Forum: PHP Oct 13th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
JavaScript is run in the browser, it can be written into the HTML document between script tags, or an external js file can be linked to the page so it loads into the browser when the page loads.
...
Forum: PHP Oct 12th, 2008
Replies: 6
Views: 876
Posted By HazardTW
ORDER BY `vehicles`.`$sort` ASC LIMIT

You may want change that DOT between `vehicles` and `$sort` to a comma.
Forum: PHP Oct 12th, 2008
Replies: 2
Views: 948
Posted By HazardTW
If those fields have the same NAME, ie.
<input type="text" name="user_input">
<input type="text" name="user_input">
<input type="text" name="user_input">
<input type="text" name="user_input">
...
Forum: PHP Oct 12th, 2008
Replies: 5
Views: 1,837
Posted By HazardTW
Go to php.net and lookup htmlentities and html_entity_decode methods.

How you display user's input also depends on WHERE you display user's input.

If the user-inputed data from the database is...
Forum: PHP Oct 11th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
I went ahead and added different second-menu options based on the first menu selection:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>...
Forum: PHP Oct 11th, 2008
Replies: 6
Views: 1,453
Posted By HazardTW
You beat me to it Xan :)

I too noticed the use of $_POST and $_GET vars directly in the queries, something you absolutely do not want to do.

If you have some kind of user-input validation on...
Forum: PHP Oct 11th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
Here is a quick example of using javascript to build/rebuild menus dynamically according to selections made.

There are three dropdowns but the first two do not change, the third changes based on...
Forum: PHP Oct 10th, 2008
Replies: 24
Views: 2,340
Posted By HazardTW
I think you need to look at client side solution to this problem at least in as much as using it for ajax calls to query the server/database, then rebuilding the drop-downs with the appropriate...
Forum: PHP Feb 1st, 2008
Replies: 3
Views: 3,010
Posted By HazardTW
wget is awesome!

I had been wanting to find a way to do database dumps daily of my client's websites and store them in .sql files on my server at home.

I have a password protected script on...
Forum: Geeks' Lounge Feb 1st, 2008
Replies: 57
Views: 5,031
Posted By HazardTW
First I want to say this is officially the longest thread I have ever started anywhere! =)

Secondly I just wanted to add that I just read in an article on Vista's bloat-ware status, these numbers...
Forum: Geeks' Lounge Jan 18th, 2008
Replies: 57
Views: 5,031
Posted By HazardTW
A very good friend of mine just purchased an Alienware gaming PC with Vista which has been tweaked and tuned by pros and he says it has been flawless so far.

I am surprised and happy for him.
Forum: Geeks' Lounge Jan 17th, 2008
Replies: 57
Views: 5,031
Posted By HazardTW
Do you buy an OS to use the OS, or do you buy an OS to provide the means with which to run the software you use on the hardware you have?

That is where I think MS has gone wrong, OS as an...
Forum: Geeks' Lounge Jan 15th, 2008
Replies: 57
Views: 5,031
Posted By HazardTW
LOL
Perhaps you might like this video:

http://gizmodo.com/342920/holy-crap-did-bill-gates-just-say-windows-sucks
Forum: Geeks' Lounge Jan 15th, 2008
Replies: 57
Views: 5,031
Posted By HazardTW
http://weblog.infoworld.com/save-xp/

Worth a shot if you love XP!
Forum: Site Layout and Usability Jan 14th, 2008
Replies: 5
Views: 1,464
Posted By HazardTW
Very true Fungus.

I did learn that the Real Estate company does do business other than that related to selling new mfg homes via their land & home packages, so I can definitely see some separation...
Forum: Site Layout and Usability Jan 12th, 2008
Replies: 5
Views: 1,464
Posted By HazardTW
I get resistance from the company when I try to make them the same, they seem to have it stuck in their head that each company needs to look different from the others, have their own identity.
...
Forum: HTML and CSS Jan 12th, 2008
Replies: 7
Views: 4,677
Posted By HazardTW
There is nothing outside the TD except a TR.

I tried to make a demonstration by replicating the entire TABLE and the element structure in the TD where I had the disappearing content, and the...
Forum: Site Layout and Usability Jan 11th, 2008
Replies: 5
Views: 1,464
Posted By HazardTW
Hello, I am hoping to get some opinions on this.

I work with a manufactured home dealer, they have four separate companies that work together:
1) mfg home retailer (does the deal for the mfg...
Forum: HTML and CSS Jan 10th, 2008
Replies: 7
Views: 4,677
Posted By HazardTW
Attempted that before, no success, I am pretty sure the problem lies with the known hasLayout issue with IE7 regarding disappearing content.

I was under the impression that giving something a...
Forum: HTML and CSS Jan 10th, 2008
Replies: 7
Views: 4,677
Posted By HazardTW
Roger that, wrapping the td in a div wouldn't be good, I didn't explain in enough detail.

I put a DIV inside the TD, then put my image and buttons inside the DIV :)

My DTD is HTML 4.01 Strict...
Forum: HTML and CSS Jan 10th, 2008
Replies: 7
Views: 4,677
Posted By HazardTW
I don't understand very much about hasLayout (http://www.satzansatz.de/cssd/onhavinglayout.html), but I did just run into a problem where I was using a table for tabular data, but then decided I...
Forum: HTML and CSS Jan 10th, 2008
Replies: 18
Views: 2,214
Posted By HazardTW
I think IE market share is only that high in the highest estimates.

It also varies depending on the type of websites, I did a search and found some recent numbers for IE market share, they vary...
Forum: Geeks' Lounge Oct 2nd, 2007
Replies: 214
Views: 20,639
Posted By HazardTW
While I personally suspect that the people that made the decision to go into Iraq believe they had more than one reason, if there was no oil in Iraq I firmly believe we would not have gone there.
...
Forum: Geeks' Lounge Oct 2nd, 2007
Replies: 214
Views: 20,639
Posted By HazardTW
I can certainly relate to that sentiment, look how long it took for the U.S. to get to where we are now.

Our high speed culture wants to change the Iraqi culture over night, that just simply isn't...
Forum: Geeks' Lounge Oct 2nd, 2007
Replies: 214
Views: 20,639
Posted By HazardTW
I think the question would be better answered by a person who lives or has lived under a dictator's rule.

Considering commentary I heard from people that have lived under a dictatorship, I am...
Forum: PHP Sep 28th, 2007
Replies: 9
Views: 1,473
Posted By HazardTW
Whatever link a user uses to go to "mysite.com?act=games&task=play" why not just have that link point to "mysite.com/games/play.php?game=###"
Seems like you might be unnecessarily complicating a...
Forum: PHP Sep 28th, 2007
Replies: 16
Views: 3,447
Posted By HazardTW
This (http://bokehman.com/do_it_yourself_avatars/) might give you some ideas.
Forum: PHP Sep 27th, 2007
Replies: 12
Views: 3,764
Posted By HazardTW
While your method is not wrong, I must point out that it is not short.
You require a call to a function that calls a built in javascript function, then test the returned value of that function, and...
Forum: PHP Sep 26th, 2007
Replies: 12
Views: 3,764
Posted By HazardTW
LOL I missed the "link" part, same idea only with a different tag ;) Had forms on my mind...

Love the avatar hollystyles.
Forum: PHP Sep 25th, 2007
Replies: 2
Views: 715
Posted By HazardTW
How about naming your banner images accordingly:
searchbanner38.jpg, searchbanner43.jpg, etc. and in your search result choose the source of the banner image like this:

echo "<img...
Forum: IT Professionals' Lounge Sep 25th, 2007
Replies: 7
Views: 7,550
Posted By HazardTW
Looking at the PHP mailer scripts I have, there is a lot of unnecessary code so I just made a stripped down script that does the task with the exception of validating the user input of the 10-digit...
Forum: PHP Sep 25th, 2007
Replies: 12
Views: 3,764
Posted By HazardTW
I personally would put the javascript confirm in the original page instead of having to load or reload a page, detect a set variable, then confirm the action.

If a form submission is used, you can...
Showing results 1 to 40 of 54

 


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

©2003 - 2009 DaniWeb® LLC