Search:
Type: Posts; User: deepode
Search :
Search took 0.01 seconds.
Yeah, thanks for answer! However i found it someday ago.. and i am using it. But it is like
var x = <?php echo json_encode($array) ?>
and after it i have x[0], x[1] according to $array[0],...
Hi,
Q.1 :
i want to know that how i can set php (array) variable to javascript variable?
i have a php array like,
$array = array(1,2,3);
i know i can set variable by
var x = <?php echo...
THAT BOLD (end of )ELEMENT!!!
Password :
</form><br>
<input type='password' name='password' />
<br/><br/>
Confirm Password:
<br/>
<input type='password' name='confirm_password' />
<br/><br/>
$party[0] = "1";
$party[1] = "2";
$party[2] = "2";
$party[3] = "3";
$all[0] = "10";
$all[1] = "11";
$all[2] = "12";
$all[3] = "13";
$all[4] = "14";
Yup as simple as simplypixie said!
I prefer Pixels more....and em is better then %.
WOW! Thanks! It worked!
however i had to think for a bit about how getting arrays back.... at last i got it... like..
$inHand = $swap["HAND"];
$inBag = $swap["BAG"];
Thanks, your answer helped but..
$_POST['name'] isn't being set...why?
Here are files......
/* AJAX */
function AjaxFunction()
{
Welcome!
I am not sure if this is right section (because of AJAX section)....
I have 1 php file - "functions.php" containing many functions like add(), edit() etc.
But IDK how to operate'em...
Hi, guys!
I have 2 arrays, $inHand[] and $inBag[] ..... as name inHand are weapons in hand and inBag are weapons in bag.
Now, i want to give user ability so they can change their weapons. (User...
This should work, just edited code of Fang.
function swapClass() {
// assumes all elements with class='nav_div'are <div>
var aDiv=document.getElementsByTagName('div');
for(var i=0;...
can you post your code? Whole code...
User Cursor property of CSS.
inside your <img> tag insert
style="cursor:pointer";
Go here for reference.
:D Happy to help!
What is function in PHP to count how many commas are there in String?
Ok First of all learn to close your input tags
<input type="something" />
Then for groups, just change the name in <input> like ...
<p>Member for group 1<input type="radio" value="v1"...
P.S. : COULD ANYONE BELIEVE THIS? I ANSWERED TO MY OWN QUESTION..........
Thanks it worked....
Well i now have another task, I want to update those points how to it?
I just want to know how...
I have one table which contains user_id, username, password and points columns. It is in table named "users" in database named 'admin_users".
When one successfully login, the following is set... ...
Thanks, it solved problem.
Hello, i have 3 scripts for website which are meant to be allow user to login... i have finished register but i am having problem with login scripts.
Here are my 3 scritps, conf.inc.php is for...
sorry but that still doesn't solves problem! I have changed all scripts.
sorry, i got what was problem, for new problem i have created new thread please check it.
I have two PHP files, 1 for form of registration and other for adding users.
When I am trying it, i am getting blank page when i press register button, please help.
Thanks in advance!
...