Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #18.7K
Ranked #2K
~3K People Reached

10 Posted Topics

Member Avatar for zesiranjha
Member Avatar for websolutions
0
194
Member Avatar for awesomest

[code] function getAge(dateString) { var today = new Date(); var birthDate = new Date(dateString); var age = today.getFullYear() - birthDate.getFullYear(); var m = today.getMonth() - birthDate.getMonth(); if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) { age--; } return age; } alert(getAge("09/23/1981")); [/code] This is from: http://stackoverflow.com/questions/4060004/calculate-age-in-javascript …

Member Avatar for jawanda0
0
72
Member Avatar for ajcoder

Well, you're obviously supposed to learn something from this assignment, so I'm not going to write all the code for you ... but I will give you a place to start. [code] var inputName = "Tim"; var nameVar1 = ""; var firstLetterOfName = inputName.substr(0,1); //find FIRST LETTER OF NAME using …

Member Avatar for Member #908245
0
283
Member Avatar for filipgothic

filipgothic, I'm afraid you are in over your head my friend, but I will try to help anyway. Everyone is telling you how to fix your sql query, and they are dead-on right, but it appears the problem you are having is even more basic. Right now, your form submits …

Member Avatar for filipgothic
0
2K
Member Avatar for hallianonline

I don't see why you are using PHP at all here. How about they just insert a javascript file? They insert: [code] <script src="http://yoursite.com/mypage.js"> [/code] then in mypage.js: [code] <script> document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" bgcolor=\"#FFFFFF\"><tr><td width=\"100%\"> <iframe width=\"100%\" scrolling=\"no\" height=\"400\" frameborder=\"0\" src=%22http:/localhost/pages/searching/%22 name=\"I1\"></iframe></td></tr><tr><td width=\"100%\"><p align=\"center\"><font …

Member Avatar for vaultdweller123
0
221
Member Avatar for mynameisfish.22

I don't want to sound like a dullard, but I really don't get the question. What do you mean you want the forums "get to a certain point and then cut into another page" ?

Member Avatar for pritaeas
0
172
Member Avatar for jetlife76

[code] $where = " WHERE `Name` = '$post'"; [/code] The name of the field, in this case "Name", does not need to be in quotes, single or otherwise. Not sure that this is your problem, but it may be part of it.

Member Avatar for jetlife76
0
167
Member Avatar for dremes

Well, since you mentioned that it would work if it just opened in a new tab ... why not just use plain old HTML to open the chat app in a target="_blank" and pass the necessary vars via the URL string?

Member Avatar for dremes
0
149
Member Avatar for winnzor

So, before commenting on any particular code, what exactly is your problem? What happens right now when you click the button?

Member Avatar for vsmash
0
255
Member Avatar for mdpepper

Hi David, You may want to look into "PCI" standards (Search for: Payment Card Industry Data Security Standard). Will you be storing the card info, or simply passing it on to a third party service such as Authorize.net for processing/authorization? Obviously you will need a valid SSL on the site …

Member Avatar for jawanda0
0
156

The End.