Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~973 People Reached
Favorite Forums
Favorite Tags
Member Avatar for CanadianGSX

I've looked around and from what I can tell, the code seems right. Basically crating a JS array and passing PHP values to it to use in an onChange to fill a text field. The dropdown gets populated fine but the text field does not autopopulate onChange. I'm not too …

Member Avatar for CanadianGSX
0
205
Member Avatar for CanadianGSX

New to javascript but I have a good analytical mind....that being said, I have the following code in onSubmit() validation: [code] else if (cofaCOURRIEL == null || cofaCOURRIEL == "") { alert('Le champ COURRIEL doit ĂȘtre rempli.'); document.forms["COFA_AIG"] ["COURRIEL"].focus(); return false; } else if (cofaCOURRIEL) { if ( (atPOS < …

Member Avatar for Shanti C
0
69
Member Avatar for CanadianGSX

Here's the code: [code] if ($result) { if ( $num_rows > 0 && $type = 1 ) { session_start(); $_SESSION['login'] = "1"; $_SESSION['loginname'] = $row['NOM']; $_SESSION['centreAFB'] = $row['CENTRE']; header ("Location: xxxxx.php"); } else if ( $num_rows > 0 && $type = 2 ) { session_start(); $_SESSION['login'] = "1"; $_SESSION['uname'] = …

Member Avatar for CanadianGSX
0
97
Member Avatar for CanadianGSX

Here's the code I have [code] $query = "SELECT partID, fname, lname FROM tblPartInfo WHERE lname = '$lname' or fname = '$fname'"; [/code] Works like a charm. Now, I want to be able to use wildcards so that the user can enter, for exemple, HO to search for HOUSE so …

Member Avatar for CanadianGSX
0
182
Member Avatar for CanadianGSX

Good morning, I'll keep this simple, I have a form that I need to populate with the contects of a MySQL database. I've tested that the 'gathering information' script works properly via a SELECT command. However, when I try to set the value of a text form field using the …

Member Avatar for CanadianGSX
0
137
Member Avatar for CanadianGSX

First off, system specs : MAC OSX, PHP 5 and MySQL 5.1.51 Trying something very simple and for the life of me it just won't work... HTML Form Code: Filename : AG_test_DB.html [CODE] <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>AG test</title> </head> <body> <form method="post" action="add.php"> <input name="fname" type="text"> <input …

Member Avatar for CanadianGSX
0
283