Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 18 of 18
Search took 0.59 seconds.
Search: Posts Made By: ArnMan
Forum: Ajax and Design 07-07-2012, 02:20 PM
Replies: 0
Views: 759
Posted By ArnMan
Can I run a ajax inside of a ajax class?

I have a php page that contains info, and in the middle I have a 3 links going to another php page, which is then ajaxed underneath the 3 links. Too keep it simple im gonna leave out all the other...
Forum: PHP 07-05-2012, 08:33 PM
Replies: 1
Views: 343
Posted By ArnMan
How can I update the display of a value while in a while loop

Hello,

I have a while loop that pulls data from a mysql database.
Each line of the while loop, has a form submit button at the end. When I select a quantity, and press select the quantity of that...
Forum: PHP 10-07-2011, 04:21 PM
Replies: 3
Views: 264
Posted By ArnMan
Actually, it works, Thank you , I was so intent...

Actually, it works, Thank you , I was so intent on keeping things "Wandering" lol that I forgot about the first part of the script, automatically giving them wandering lol

Works like a charm.

I...
Forum: PHP 10-07-2011, 04:10 PM
Replies: 3
Views: 264
Posted By ArnMan
Well I had originally thought of that, but I have...

Well I had originally thought of that, but I have two sets of values, Standing, Wandering.
I want the wandering npcs to wander around, and the Standing ones to stay in one spot.

Which is why I...
Forum: PHP 10-07-2011, 01:32 PM
Replies: 3
Views: 264
Posted By ArnMan
I am trying to get a randon number with a low range of numbers

Hello,
I am using php to update data in mysql, using a while loop.

I am trying to get a random number so I can insert into mysql but for some reason for the rand() doesnt seem to be very random...
Forum: JavaScript programming 10-03-2011, 05:06 AM
Replies: 12
Views: 604
Posted By ArnMan
Thumbs up I figured it out, finally......

:thumbsup: I have tried the above code and it still didnt work, so after taking a break, did some chores, had supper, i had a thought.
I wondered if I could take the result of the function and turn...
Forum: JavaScript programming 10-02-2011, 01:04 PM
Replies: 12
Views: 604
Posted By ArnMan
Ok here is what i have done to get to this...

Ok
here is what i have done to get to this point. added google maps js code to my site to show the current location for the user.
That works, great. It is a php file with js in it, and two single...
Forum: JavaScript programming 10-01-2011, 09:01 PM
Replies: 12
Views: 604
Posted By ArnMan
I do appreciate your help and you will get a huge...

I do appreciate your help and you will get a huge thank you, even if you didnt get to help me.
I noticed that those [ ] cause the problem if I remove them the error goes away.
The php works fine...
Forum: JavaScript programming 10-01-2011, 08:53 PM
Replies: 12
Views: 604
Posted By ArnMan
well that line was in another part of the script...

well that line was in another part of the script I was working, so I used it in the instance.

<?php
function npclocs()
{
$npcl=$db->query("SELECT * FROM npclocation WHERE npclong <...
Forum: JavaScript programming 10-01-2011, 08:43 PM
Replies: 12
Views: 604
Posted By ArnMan
That looks simple enough but when i opened...

That looks simple enough
but when i opened dreamweaver and copied and pasted the change and it gave me a error on

$nloc[]=$row;

which I have noticed at other times, when I have something like...
Forum: JavaScript programming 10-01-2011, 08:33 PM
Replies: 12
Views: 604
Posted By ArnMan
Well, I am guessing page load. What the...

Well, I am guessing page load. What the javascript is, is actually google maps api, and what it does is puts balloons on the map in a short radius around the current user.

I have noticed that when...
Forum: JavaScript programming 10-01-2011, 04:09 PM
Replies: 12
Views: 604
Posted By ArnMan
Question How do I get javascript to run a php function

Hello,
I have a php function
function npclocs()
{
$npcl=$db->query("SELECT * FROM npclocation WHERE npclong < {$ir['userlongitute']}+5 AND npclong > {$ir['userlongitute']}-5 AND npclat >...
Forum: PHP 09-17-2011, 03:30 PM
Replies: 3
Views: 998
Posted By ArnMan
is that for a single variable or an array? I have...

is that for a single variable or an array? I have been able to get single php variables in js, barely lol.

I am looking to fetch an array of data from mysql and put that array into the javascript...
Forum: PHP 09-17-2011, 04:26 AM
Replies: 3
Views: 998
Posted By ArnMan
Unhappy Need Help with passing mysql/php array to javascript

hello,
I have spent nearly the past week scouring the net, looking for a solution. I am needing to query mysql with php, with gives me a array of information.
And I need to feed, this info into my...
Forum: PHP 06-16-2011, 05:19 AM
Replies: 6
Views: 680
Posted By ArnMan
well I just tried my concoction and it didnt...

well I just tried my concoction and it didnt work,

What I am trying to do is display a progress bar. I already have other progress bars working now, but all they have to tend to is static numbers...
Forum: PHP 06-16-2011, 04:46 AM
Replies: 6
Views: 680
Posted By ArnMan
But after seeing my last post that wont work for...

But after seeing my last post that wont work for me because that should something 75% or something
Forum: PHP 06-16-2011, 04:36 AM
Replies: 6
Views: 680
Posted By ArnMan
well maybe, but I noticed that if I set the Total...

well maybe, but I noticed that if I set the Total capacity to 150 the percentage is exactly the same when I put in any number in Room #, even 0
Maybe I wasnt putting the right info somewhere
...
Forum: PHP 06-15-2011, 01:13 PM
Replies: 6
Views: 680
Posted By ArnMan
Question PHP/Mysql Percentage help for a number that is always changing

Hello,
I have a percentage question. I already know about x/y*100 to give me a %
and I can write db querys to extract values out of mysql to do that too, but I have a certain value that is giving...
Showing results 1 to 18 of 18

 
Forum Jump

All times are GMT +1. The time now is 09:22 AM.