Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 84
Search took 0.33 seconds.
Search: Posts Made By: Styles2304
Forum: PHP 04-28-2013, 09:50 PM
Replies: 1
Views: 127
Posted By Styles2304
as in html link? either echo the whole thing...

as in html link?

either echo the whole thing

echo 'a href="' . $fields['statustag'] . '">Link</a>';


or just the url itself
Forum: PHP 04-28-2013, 09:17 PM
Replies: 5
Views: 204
Posted By Styles2304
If I were doing it, I would use jquery to send...

If I were doing it, I would use jquery to send form data to another php file with an ajax request where the code could just be set manually. It would then return 1 if it's a match or 0 if it's not.
...
Forum: PHP 04-28-2013, 08:59 PM
Replies: 0
Views: 113
Posted By Styles2304
xmlToArray function not working - generating errors and breaking code

--- EDIT ---
I Figured out the issue . . . and it is not related to anything here so disregard!
--- EDIT ---

I retrieve data from an XML file that is pasted in a text box. I'm trying to use a...
Forum: PHP 04-28-2013, 08:47 PM
Replies: 12
Views: 271
Posted By Styles2304
Ok, I did some checking and I had definitely...

Ok, I did some checking and I had definitely messed up the error reporting. It was echoing $query but the error was from a different statement that didn't reference $query at all ($queryScans). Now,...
Forum: PHP 04-28-2013, 01:54 PM
Replies: 12
Views: 271
Posted By Styles2304
OK I'll get in that. I do actually have the...

OK I'll get in that. I do actually have the errors turned off but I've checked with them on and its the same error with a bunch of warnings caused by the function that converts XML to array. I'll...
Forum: PHP 04-28-2013, 02:05 AM
Replies: 12
Views: 271
Posted By Styles2304
I'm at drill or I would have responded.. I'm in...

I'm at drill or I would have responded.. I'm in my phone so forgive me. I only reference the database be cause its the way I was taught to do it. It seems more complete for some reason.

Anyway...
Forum: PHP 04-26-2013, 04:35 PM
Replies: 12
Views: 271
Posted By Styles2304
First and only query before the one that...

First and only query before the one that generates the error:
$query = "SELECT `entityID`, `System` FROM `" . $databaseName . "`.`scans` ORDER BY `entityID`;";
$result = mysql_query($query,...
Forum: PHP 04-26-2013, 05:32 AM
Replies: 12
Views: 271
Posted By Styles2304
Error 1064 - Query works when copy and pasting

When I wrote the code I was using wamp for development. Everything worked fine there. I uploaded it to my server and it broke. If I copy and paste the query that is created into phpMyAdmin it works....
Forum: PHP 04-22-2013, 07:45 PM
Replies: 0
Views: 115
Posted By Styles2304
Best way to compare input data vs database data

I have a program where the user inputs several bits of information by way of XML. I store the data in a "current" table and a "changes" table (MySQL). The data consists of an EntityID which remains...
Forum: JavaScript programming 02-17-2013, 02:51 AM
Replies: 8
Views: 282
Posted By Styles2304
Here's the solution given me by Joseph the...

Here's the solution given me by Joseph the Dreamer on stackoverflow. I've modified it slightly but overall, this is what's working for me:

function scanSystem() {
var x,
y,
xMin = 0,...
Forum: JavaScript programming 02-16-2013, 10:52 PM
Replies: 8
Views: 282
Posted By Styles2304
Don't know. I think there's still something wrong...

Don't know. I think there's still something wrong with the dlURL . . . the alert right after it's called never fires:

// Functions to setup
function scanSystem() {
// Starting value for scans...
Forum: JavaScript programming 02-16-2013, 09:02 PM
Replies: 8
Views: 282
Posted By Styles2304
Ok outstanding . . . the only issue is the dlURL...

Ok outstanding . . . the only issue is the dlURL function is breaking the code. I commented out line by line until I found it but I don't know regEx enough to fix it. See anything odd?
Forum: JavaScript programming 02-16-2013, 04:59 PM
Replies: 8
Views: 282
Posted By Styles2304
It's only a function so I can call it on click ....

It's only a function so I can call it on click . . . it will also be customizable in the future to allow for scanning only certain sectors.

As far as the loop stopping and retrieving the URL . . ....
Forum: JavaScript programming 02-16-2013, 03:30 PM
Replies: 8
Views: 282
Posted By Styles2304
I tried modifying it slightly by creating an...

I tried modifying it slightly by creating an iframe and changing the src with a delay but all that does now is display the last xml file. Doesn't display any others and no longer downloads it:
...
Forum: JavaScript programming 02-16-2013, 05:09 AM
Replies: 8
Views: 282
Posted By Styles2304
Scrolling through urls to download files

There's a browser based game I play where you can scan sections of a grid and download an xml file of the scan. I'm trying to automate this to speed things up.

It's easy enough to generate the...
Forum: JavaScript frameworks 12-15-2012, 02:09 PM
Replies: 4
Views: 267
Posted By Styles2304
lol yes, the jquery library has been attached and...

lol yes, the jquery library has been attached and is used for a majority of my page. I'm not exactly sure what you mean by: "Is your page in the same location as the 'scripts' sub-folder?" but...
Forum: JavaScript frameworks 12-15-2012, 05:09 AM
Replies: 4
Views: 267
Posted By Styles2304
AJAX Request: Not properly retrieving data

Am I missing something? I get the alert stating that the function has indeed been called but apparently the rest is not successful . . . I don't get an alert with the json data in it.

function...
Forum: JavaScript frameworks 12-06-2012, 05:27 PM
Replies: 4
Views: 392
Posted By Styles2304
I was just playing around with it some more . . ....

I was just playing around with it some more . . . the issue was that it was refreshing the page . . . I forgot to include event.preventDefault() so the form was actually submitting!
Forum: JavaScript frameworks 12-06-2012, 04:50 PM
Replies: 4
Views: 392
Posted By Styles2304
I'll upload a version shortly. The reasoning for...

I'll upload a version shortly. The reasoning for that is that you can enter complex dice rolls with addition and multiple separate rolls. Ex: 2d20+1d12,2d4,3d6. In that case it would run diceUpdate()...
Forum: JavaScript frameworks 12-06-2012, 04:28 PM
Replies: 4
Views: 392
Posted By Styles2304
append() Not working as anticipated

I've programmed a simple dice roller but when I append the values to the div, they show up for a split second and then disappear. It only does it for the custom roll section where you input data (ex:...
Forum: JavaScript programming 07-25-2012, 02:50 PM
Replies: 3
Views: 271
Posted By Styles2304
lol! thank you! I've written a for loop a million...

lol! thank you! I've written a for loop a million times . . . I knew I was missing something simple.

Thanks again.
Forum: JavaScript programming 07-25-2012, 05:31 AM
Replies: 3
Views: 271
Posted By Styles2304
for() . . . I think I'm missing something simple

Can't tell what I'm missing here . . . the alert(a) never fires

if (phaseCompleted.length == players.length) {
//alert('yes');
for(var a = 0; a > 5; a++) {
...
Forum: JavaScript frameworks 07-17-2012, 02:45 AM
Replies: 3
Views: 456
Posted By Styles2304
Seriously? I've never read a less helpful...

Seriously? I've never read a less helpful response that managed to insult me at the same time.

For anyone that stumbles across with the same issues, are the images there when the DOM is loaded?...
Forum: JavaScript frameworks 07-17-2012, 01:41 AM
Replies: 3
Views: 456
Posted By Styles2304
Simple Fix - .click not working?

The code is not being triggered when clicking on an item with the designated class:

$(document).ready(function() {
$(".playerCard").click(function() {
alert('test');
});
});...
Forum: JavaScript frameworks 07-05-2012, 02:22 PM
Replies: 2
Views: 403
Posted By Styles2304
I did some messing around and the problem was the...

I did some messing around and the problem was the single quotes around the value of the 1Hand variable. I wasn't thinking about a variable is passed in the URL. Basically, I was making it pass...
Showing results 1 to 25 of 84

 
Forum Jump

All times are GMT +1. The time now is 07:03 AM.