Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 92
Search took 0.22 seconds.
Search: Posts Made By: rtown
Forum: JavaScript programming 01-08-2013, 11:30 PM
Replies: 7
Views: 340
Posted By rtown
I think this will work. About the element ID,...

I think this will work.
About the element ID, its not needed. I dont know what the (e) is for either... :)
Ill play around with this. I was not aware you could append and onlick event to a href...
Forum: JavaScript programming 01-08-2013, 11:14 PM
Replies: 7
Views: 340
Posted By rtown
In this case its not submitting a form, just...

In this case its not submitting a form, just passing some simple info over querystring. I figured I would just add the scroll position to the QS as well.

I know how to make a link with a QS I just...
Forum: JavaScript programming 01-08-2013, 10:47 PM
Replies: 7
Views: 340
Posted By rtown
Placing JS Variable in QueryString?

Hey guys,

I am trying to pass the scroll position between a couple pages. I have this code for placing it into a text field. But what I want to do is have it placed into a variable that I can then...
Forum: JavaScript programming 06-26-2012, 09:53 PM
Replies: 3
Views: 645
Posted By rtown
This worked perfectly. Thank you sir! I did not...

This worked perfectly. Thank you sir! I did not know how to build a function into an onclick. :D
Forum: JavaScript programming 06-26-2012, 07:01 PM
Replies: 3
Views: 645
Posted By rtown
Adding and subtracting, how to keep leading zero?

Hey everyone,

Need a hand with a little JS. The script below that adds and subtracts by 1, to a value already given.


<input type="text" name="TransNumber" id="TransNumber" size="5"...
Forum: Ajax and Design 04-20-2012, 12:43 AM
Replies: 15
Views: 5,396
Posted By rtown
I got it working... this was the problem: You...

I got it working... this was the problem:
You had originally told me to give the result div an ID instead of a class. I had done so.

Then in your working example, you actually had a div CLASS,...
Forum: Ajax and Design 04-19-2012, 01:00 AM
Replies: 15
Views: 5,396
Posted By rtown
Well, I confirm your code does indeed work. But...

Well, I confirm your code does indeed work. But when brought into my page, it doesnt work. I get the same result. When I combine the javascripts as you did, the PHP does not run. When they are...
Forum: Ajax and Design 04-18-2012, 08:08 PM
Replies: 15
Views: 5,396
Posted By rtown
Even without the "Echo MADE IT"... the script...

Even without the "Echo MADE IT"... the script will not run with the combined javascript. I have confirmed the location of the jquery and yes it is called properly I know this because the jquery...
Forum: Ajax and Design 04-18-2012, 04:43 PM
Replies: 15
Views: 5,396
Posted By rtown
Still no echo being displayed by in the result...

Still no echo being displayed by in the result div... and on top of that with the above code the php file does not run the sql commands, no inserts or anything... :(
Forum: Ajax and Design 04-17-2012, 11:26 PM
Replies: 15
Views: 5,396
Posted By rtown
The echo 'made it';die; makes no change to the...

The echo 'made it';die; makes no change to the php echo not displaying. The sql functions do not run when this line is present.

I tried removing the "functions/" and placing that file in the same...
Forum: Ajax and Design 04-17-2012, 01:44 AM
Replies: 15
Views: 5,396
Posted By rtown
Indeed this killed the page. The php did not run,...

Indeed this killed the page. The php did not run, and no echo was displayed.

I have posted the php below.. thank you again!


<?php
include("../includes/db.php");...
Forum: Ajax and Design 04-15-2012, 10:15 PM
Replies: 15
Views: 5,396
Posted By rtown
Wow! Thanks so much for fixing all my little...

Wow! Thanks so much for fixing all my little errors. The form is now submitting data and the sql insert is running perfectly.

The only issue that remains is that after the form is submitted, the...
Forum: Ajax and Design 04-14-2012, 06:36 PM
Replies: 15
Views: 5,396
Posted By rtown
Ajax post, then display PHP echo message

I want to insert a record into mysql through a form without leaving the page.. ajax! But I have tried every conceivable jquery ajax example I can find. I cant for the life of me make this work. I am...
Forum: PHP 04-13-2012, 05:38 PM
Replies: 2
Views: 463
Posted By rtown
Interesting take on it.. Thanks for that. Perhaps...

Interesting take on it.. Thanks for that. Perhaps your right.
I would however like to get this working for other areas of my application, such as adding records to DB, rather than sending to a new...
Forum: PHP 04-13-2012, 04:52 PM
Replies: 2
Views: 463
Posted By rtown
Implement ajax into existing php login?

So confused. My current login system sends the user to a separate page if the login fails... its not very nice. So I have been trying to implement an ajax system using my existing login php, and I am...
Forum: MySQL 02-25-2012, 05:41 AM
Replies: 18
Views: 875
Posted By rtown
I think I got it! $memberid =...

I think I got it!
$memberid = $_SESSION['SESS_MEMBER_ID']; // let's do this to keep query cleaner
$sql = "SELECT M.firstname, M.lastname, N2.ID, N2.member, N2.Number1, N2.Number2, N2.Details,...
Forum: MySQL 02-25-2012, 05:28 AM
Replies: 18
Views: 875
Posted By rtown
YES! This is so close. It sooorta works. Its...

YES! This is so close. It sooorta works. Its really hard to explain whats happening... basically, for certain members, the number are being shown multiple times.

- For member 3, (sharing with 2...
Forum: MySQL 02-25-2012, 03:41 AM
Replies: 18
Views: 875
Posted By rtown
Dangerous indeed. Matching numbers is irrelevant....

Dangerous indeed. Matching numbers is irrelevant.

There is a giant list of numbers. Each number has a member who added it.
Members can set up a share, so they can see each others numbers, this is...
Forum: MySQL 02-25-2012, 02:40 AM
Replies: 18
Views: 875
Posted By rtown
What you say is true. I am just not very familiar...

What you say is true. I am just not very familiar with the IN functions so I guess I have stuck with ID's.

I have done what I can with the query you have written and I am getting a syntax error. I...
Forum: MySQL 02-25-2012, 12:32 AM
Replies: 18
Views: 875
Posted By rtown
No they are just Number1 and Number2.. no spaces...

No they are just Number1 and Number2.. no spaces or underscores.

:o
Forum: MySQL 02-25-2012, 12:32 AM
Replies: 18
Views: 875
Posted By rtown
Ahh!! Please bear with me, I may not be as well...

Ahh!! Please bear with me, I may not be as well versed in mysql. I will address some of your questions:

Teach me to assume. So what is the point of the ID field then?
So we have a way to edit,...
Forum: MySQL 02-24-2012, 11:03 PM
Replies: 18
Views: 875
Posted By rtown
The more I look into this it seems something is...

The more I look into this it seems something is wrong. The id field is not the member id. The members unique number is the member field.
Forum: MySQL 02-24-2012, 10:53 PM
Replies: 18
Views: 875
Posted By rtown
The more I look into this it seems something is...

The more I look into this it seems something is wrong. The id field is not the member id. The members unique number is the member field.
Forum: MySQL 02-24-2012, 10:18 PM
Replies: 18
Views: 875
Posted By rtown
gid field is just an index field, auto increment....

gid field is just an index field, auto increment.
share_status is set to 1 when both members agree to share their numbers. so we should add a WHERE share_status="1".

Now, looking at my db I see...
Forum: MySQL 02-24-2012, 05:26 PM
Replies: 18
Views: 875
Posted By rtown
Need help writing a confusing query!

Hey guys,
I am about as confused as I can get haha.. this one is over my head I think so hopefully someone with more experience can help. Two tables:

First table is called Numbers, with the...
Showing results 1 to 25 of 92

 
Forum Jump

All times are GMT +1. The time now is 12:14 AM.