hi,
ı want to send href value. but its not working.
function display () {
$.fancybox({
'href': 'index.php',
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
}
ı tryed this :
function display (who) {
$.fancybox({
'href': 'index.php'+who,
'w...
Well before anyone claims that theres a duplicate question... (I've noticed that people who can't answer the question tend to run and look for a duplicate, and then report it.)
Here is the duplicate you are looking for:
http://stackoverflow.com/questions/2481382/php-claims-my-defined-variable-is-undefined
However, this isn't quite a du...
Hi all,
I've got a strange problem with a static variable that is obviously not initialized as it should be.
I have a huge project that runs with Windows and Linux. As the Linux developer doesn't have this problem I would suggest that this is some kind of wired Visual Studio stuff.
Header file
class MyClass
{
// some other stuff he...
Hey i have a question.
At the moment i'm trying to use a stylesheet which i get through a if. but it doesn't do anything.
here is my code at the moment. the variable $stylesheet will be variable but while testing i've setted it to normal
<?php
$stylesheet = 'normal'
if($stylesheet = 'small')
{
$style = './sitestyle/styles...
This seems like the simplest thing in the world and I'm ready to pull my hair out over it.
I have a unit that looks like this ;
Unit myUnit;
// ...
//normal declarations
//...
Public
//bunch of procedures including
Procedure myProcedure;
const
//bunch of constants
var
//bunch of vars including
myCounter:integer;
Implementation
Use...
I have a variable or array, which I no longer needed. How to destroy them?
Sorry for noob-question.
...
How to create dynamic incrementing variable using "for" loop in php?
like wise: $track_1,$track_2,$track_3,$track_4..... so on....
...
I'm new to CodeIgniter and have just discovered the difficulties using the GET method of passing variables via the URL (e.g. domain.com/page.php?var1=1&var2=2).
I gather that one approach is to pass the variables in the URI segments but haven't quite figured out how to do that yet as it seems to create the expectation of having a funct...
Try to find a global function, to get and to put the backgroundPosition-values, but I feel a bit confused.
Here is the function:
function global_backgroundPosition_Menu(num){
$('#Navigation_1')
.css({
backgroundPosition: num + "px 0"
})
}
///////////////////
An here I want to ca...
Hello I have two text inputs which get their values from a datepicker.
What I want to do is when user selects the two dates script pass these two values to a php document in which I make some checks and I return some html.
Here is what I'm trying to do:
(#to and $from are 2 input texts)
$(document).ready(dateinput_change);
function...
Ok guys
I basically have a class which takes in 3 strings through the parameter of one of its method signatures.
I've then tried to map these 3 strings to global variables as a way to store them.
However, when I try to call these global variables from another class after instantiating this class they display as null values.
this i...
Hello
I have this problem in php:
Notice: Undefined variable: _Get in /.../script/install.php on line 3
and this is the code in line 3:
if($_Get['step']<1)
so what is the problem?
...
The following code returns 14 as you'd expect:
Block[{expr},
expr = 2 z;
f[z_] = expr;
f[7]]
But if you change that Block to a Module then it returns 2*z.
It seems to not matter what other variables besides expr you localize.
I thought I understood Module, Block, and With in Mathematica but I can't explain the difference in beha...
Hi,
let's say i have the following:
$vars="name=david&age=26&sport=soccer&birth=1984";
I want to turn this into real php variables but not everything. By example, the functions that i need :
$thename=getvar($vars,"name");
$theage=getvar($vars,"age");
$newvars=cleanup($vars,"name,age"); // Output $vars="name=david&age=26"
How can i ...
I'm using a fairly simple system to load javascript dynamically:
include = function (url) {
var e = document.createElement("script");
e.src = url;
e.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
};
Let's say I have a file test.js which has the following contents:
var foo = 4;
Now, in my or...
Hi folks!
I'm wondering if it is possible to use assigned variables as identifier in a json array. When I tried this, I was getting some unexpected results:
(Code is simplified, parameters are passed in a different way)
var parameter = 'animal';
var value = 'pony';
Util.urlAppendParameters (url, {parameter : value});
Util.urlAppe...
Ive been having great frustration for hours now trying to remember my AJAX!
Im trying to write a function which will be called that will simply POST 4 variables to a given URL, written in javascript and not jquery such as:
function postVariables(URL, var1, var2, var3, var4)
{
......
return true;
}
Can anyone help?
...
Hi Everybody,
I attended a technical interview a few days ago, and I was asked
How does the C compiler implments function with Variable number of arguments?
How does it pass the on the stack?
Does anyone know or can explian that?
Thanks,
Dan
...
When dealing with cell arrays, I can use the deal() function to assign cells to output variables, such as:
[a, b, c] = deal(myCell{:});
or just:
[a, b, c] = myCell{:};
I would like to do the same thing for a simple array, such as:
myArray = [1, 2, 3];
[a, b, c] = deal(myArray(:));
But this doesn't work. What's the alternative?
...
Hi,
I'm looking to create an audit trail for my PHP web app's database (eg. capture inserts, updates, deletes).
MySQL triggers seem to be just the thing -- but how do I capture the IP address and the web username (as opposed to the mysql username, localhost) of the user who invoked the trigger?
Thanks so much.
-Ken
P.S. I'm working ...