Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 75
Search took 0.19 seconds.
Search: Posts Made By: An Enigman
Forum: PHP 05-07-2011, 01:18 PM
Replies: 0
Views: 649
Posted By An Enigman
SQL update/insert

Hi,

I have about 40 select boxes and I've allocated each of them an individual id because the amount of select boxes will never change. I've put each value in a JS array and then receive it in...
Forum: PHP 05-01-2011, 12:54 PM
Replies: 1
Views: 391
Posted By An Enigman
Regex for 3 alphabets and 4 numbers

Hi all,

I was just wondering how would I create a regex expression that checks whether an input has 3 alphabets and 4 numbers in order?

I ask since I have an input field that requires the input...
Forum: JavaScript frameworks 04-28-2011, 03:09 PM
Replies: 15
Views: 1,178
Posted By An Enigman
How would I receive the array values in the php...

How would I receive the array values in the php file?

I can't seem to access the individual values if I assign a parameter to the serializeArray.

For example, without the parameter, I can...
Forum: JavaScript frameworks 04-28-2011, 03:04 PM
Replies: 15
Views: 1,178
Posted By An Enigman
I tried this but I got an invalid property id...

I tried this but I got an invalid property id message:


$.post("functions.php", {"command": "data", $('.Input :input').serializeArray()},
function(data) {
alert("Data Loaded: " + data);
});
}
Forum: JavaScript frameworks 04-28-2011, 02:54 PM
Replies: 15
Views: 1,178
Posted By An Enigman
I still need the "command": "data" bit though as...

I still need the "command": "data" bit though as that's I thought distinguish between the different commands. How can I add the command bit and still keep the serializeArray as it is instead of...
Forum: JavaScript frameworks 04-28-2011, 02:45 PM
Replies: 15
Views: 1,178
Posted By An Enigman
Hi guys, Is there a way I can send the...

Hi guys,

Is there a way I can send the serializeArray without assigning it a parameter like I have here:


$.post("functions.php", {"command": "data", array: $('.Input...
Forum: JavaScript frameworks 04-28-2011, 01:42 PM
Replies: 15
Views: 1,178
Posted By An Enigman
Thanks for that. Would you know how I can...

Thanks for that.

Would you know how I can receive the array values in the PHP and then define them?
Forum: PHP 04-28-2011, 12:10 PM
Replies: 1
Views: 505
Posted By An Enigman
receiving array values from jquery POST

Hi,

I am using a $.POST to send a serialized array to a php file but I don't know how to receive the individual values. My jquery code is:


function data()
{
$.post("functions.php",...
Forum: JavaScript frameworks 04-28-2011, 11:28 AM
Replies: 15
Views: 1,178
Posted By An Enigman
I've got an external function for...

I've got an external function for getElementsByClassName so that should be fine.

Is there any way I can echo out javascript events from the php that will be received by the jquery function and...
Forum: JavaScript frameworks 04-28-2011, 10:15 AM
Replies: 15
Views: 1,178
Posted By An Enigman
$.post callback issue

Hi all,

I have sent a command and a serializeArray to a php file but I am having trouble echoing values to the input fields that are within the serializeArray.

My jQuery code is:



My PHP...
Forum: Java and JSP 04-13-2011, 12:10 PM
Replies: 6
Views: 2,440
Posted By An Enigman
Edit: figured it out.

Edit: figured it out.
Forum: Java and JSP 04-07-2011, 06:35 AM
Replies: 6
Views: 2,440
Posted By An Enigman
I get the what the task is asking of me but what...

I get the what the task is asking of me but what I don't get is what sort of coding will be involved to get the app up and running.

Is it a straight forward task or is it complex?

I have no...
Forum: Java and JSP 04-06-2011, 11:50 AM
Replies: 6
Views: 2,440
Posted By An Enigman
RMI project

Hi all,

I'm currently doing a RMI project that involves the following requirements:



I am struggling to understand the concept so I was wondering if someone can provide me with some help...
Forum: PHP 03-25-2011, 12:48 PM
Replies: 6
Views: 460
Posted By An Enigman
This is what I have done through AJAX so far: ...

This is what I have done through AJAX so far:


if($_POST['command'] == 'formula')
{

$num1 = $_POST['num1'];


$sql = "SELECT * FROM metrics WHERE metrics_id = 2;";
Forum: PHP 03-25-2011, 11:48 AM
Replies: 6
Views: 460
Posted By An Enigman
Thanks for that. I was just thinking, what...

Thanks for that.

I was just thinking, what if I stored the actual PHP code in the mysql field, how would that work?

So something like:

if($num1 = 1)
{
echo...
Forum: PHP 03-24-2011, 12:31 PM
Replies: 6
Views: 460
Posted By An Enigman
^Is there an example you can provide?

^Is there an example you can provide?
Forum: HTML & CSS 03-23-2011, 12:26 PM
Replies: 12
Views: 945
Posted By An Enigman
Hi Kor, it doesn't want to center for me, here is...

Hi Kor, it doesn't want to center for me, here is the code:


<div id="container">
<div class="imag_cont margin_right" style="margin-left:auto; margin-right:auto;">
<div...
Forum: HTML & CSS 03-23-2011, 11:41 AM
Replies: 12
Views: 945
Posted By An Enigman
Also, Kor, how would I adapt your code if I only...

Also, Kor, how would I adapt your code if I only want one image container (with it aligned centerally)?

Thanks :)
Forum: HTML & CSS 03-23-2011, 11:26 AM
Replies: 12
Views: 945
Posted By An Enigman
Thanks for that. What does this mean: ...

Thanks for that.

What does this mean:


*{
margin:0;
padding:0;
}
Forum: HTML & CSS 03-23-2011, 04:33 AM
Replies: 12
Views: 945
Posted By An Enigman
This is what I have changed my code to: ...

This is what I have changed my code to:


<div id="Content">
<div style="text-align:center; width: 900px; height: 280px;">
<div id="imageContainer">
<table cellpadding='0'...
Forum: HTML & CSS 03-23-2011, 02:38 AM
Replies: 12
Views: 945
Posted By An Enigman
I did change it to display:block but that screws...

I did change it to display:block but that screws it up in other browsers.

In regards to the website, I am only testing it through localhost at this stage.



How would you restructure the...
Forum: HTML & CSS 03-22-2011, 02:48 PM
Replies: 12
Views: 945
Posted By An Enigman
Cross-browser weird issue..

Hi all,

This piece of HTML/CSS code works as it should in IE 6,7,8 & Firefox but it doesn't working Chrome or Safari:

HTML code:

<div id="Content">
<div class="imageContainer">...
Forum: PHP 03-21-2011, 12:21 PM
Replies: 6
Views: 460
Posted By An Enigman
Bump :)

Bump :)
Forum: PHP 03-21-2011, 09:44 AM
Replies: 6
Views: 460
Posted By An Enigman
Working with formulas

Hi all,

I've stored a formula in a mysql db table that is pretty basic. To give an example:


IF(x=1)
{
y = 2;
}
Forum: JavaScript frameworks 03-09-2011, 01:29 AM
Replies: 1
Views: 1,498
Posted By An Enigman
anyone?

anyone?
Showing results 1 to 25 of 75

 
Forum Jump

All times are GMT +1. The time now is 03:25 PM.