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
~2K People Reached
Favorite Forums
Favorite Tags

9 Posted Topics

Member Avatar for ben.marks

Hi there, This may or may not be a dumb question, but I've never come across it before. Can you point to a javascript 'onsubmit="return validation()"' on a form, but WITHIN PHP tags? Such as the below. [CODE]function validation(){ var reply = document.getElementById('comreply'); var div = document.getElementById('errormsg'); if((reply.value == '') …

Member Avatar for ben.marks
0
169
Member Avatar for ben.marks

Hi there, Pretty novice to JS, just wondered if anyone could give me a hand please. I have a form that is passed to itself. I was just wondering if there was a way to get this to validate before it passed to itself. I was assuming that as the …

Member Avatar for ben.marks
0
360
Member Avatar for ben.marks

Hi there, Got some form validation but doesn't seem to even be running through it. First off the form is displayed, if you click in 'Name:' the 'ID:' box disappears so that you cant type in both, after it disappears (and vice versa), the validation should check its correct, but …

Member Avatar for ben.marks
0
210
Member Avatar for ben.marks

Hi all, I am trying to output data from a MySQL database from the column, 'category', however what I have at the moment isnt working. Any suggestions please? [CODE]$catrow = mysql_query("SELECT category FROM tuck"); $cate=array(); while($category = mysql_fetch_assoc($catrow));{ $cate[]=$category; } echo $cate[0]; echo $cate[1];[/CODE] Thanks

Member Avatar for ben.marks
0
176
Member Avatar for ben.marks

Hi there, Got a javscript problem that im working on where the validation doesn't do what I think it should. From stepping through the code, when the [B]pound and pence fields on the form are blank[/B], but the [B]name is filled in[/B], it should error at "Please fill in value …

Member Avatar for hielo
0
146
Member Avatar for lisaroy1

I found [url]http://www.tizag.com/[/url] very helpful. Even helped me start learning ASP

Member Avatar for Shanti C
0
110
Member Avatar for ben.marks

Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as …

Member Avatar for Airshow
0
288
Member Avatar for ben.marks

Hello, I am trying to get the MySQL id field to auto update itself when an item is deleted. However the below doesnt work. When a user searches by name, then I need to grab the id of that name before I delete it and minus 1. [CODE]$name = $_POST['name']; …

Member Avatar for waveydaveywaves
0
163
Member Avatar for ben.marks

Hi there, I am looking for some help on PHP/MySQL please :) I have a site where you add an item via a form which is then put into a mysql data base. I was wondering if there was anyway so that on this inital form there could be a …

Member Avatar for ben.marks
0
97

The End.