How do I do this?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
wvoyance
Forum Contributor
Posts: 135
Joined: Tue Apr 17, 2012 8:24 pm

How do I do this?

Post by wvoyance »

I would like to do iterate query and store the information to the database directly. How do I do it?

I used to use
$.getJSON( surl, pars, function(textDoc){....});
to get something from the server. But now I do not need anything back, i.e.
I only send a parameter to the server, the server will get the information and insert into database directly.


It seems I can use

<form action="....php" method="get">
<input ....>
</form>

But this way I cannot do iterate. Therefore I have to do it using javascript, to my understanding.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: How do I do this?

Post by requinix »

If you don't want to do anything with the result then don't do anything with the result. The solution is to do nothing.
User avatar
wvoyance
Forum Contributor
Posts: 135
Joined: Tue Apr 17, 2012 8:24 pm

Re: How do I do this?

Post by wvoyance »

:offtopic: forget about this vague question. The problem has been solved.
madmanking wrote:bgfdgkmjhghdn

:drunk:
Post Reply