Using XAMMP or WAMMP on my MAC, I am seeing some odd behavior when attempting to retrieve some values from a BIGINT(10) MYSQL field, and I can only assume its the MYSQL bind or PHP echo, the same code works fine on a PC.
$stmt = mysqli_prepare($this->connection, "SELECT USER_ID, USER_NAME...
The following code was working, not sure the version of PHP that I was using, but I know it worked on 4. Rrecently my host upgraded to PHP Version 5.2.13, and all of the code is broken.
I have an HTML Form Submit.
My HTML Form POST the following variable "requirements" as 2D array data fine...
Does anybody know the pattern to escape special characters if they arent already escaped?
for example, to escape TEST1&TEST2 but not TEST1 & TEST2
Thanks
...that echo \\1$ prints multiple instances. Is there any way to grab the whole text within >whole text< and assign to \\$1?
$pattern = "/>(^)*</";
that seems to be the syntax for the pattern but when i use
$pattern = ">(^)*<";
$replace = "/>test\\$1</";
$html =...
...of >some alpha text<
withing an xml string and replace with ><font...>some alpha text<
here is what I have so far
pattern = ">[a-zA-Z0-9]*<";
$replace = "><font ...>\\1</font><";
$html = preg_replace($pattern,$replace,$html);
php gives Warning: preg_replace() [function.preg-replace]: No...
sounds like it might be my problem too.
as a temp fix, in IE, go to tools/internet options/settings
select the first radio button "everytime I vist the page"
and close IE, open IE and try your page again.
I agree, I would like a fix to this issue as opposed to a bandaid.
Hello,
I am new to the ajax methodology so please bear with me.
I have implemented a javascript poll, every second, to my java servlet for message board data. Upon return, I display this data in some div on the jsp page. I noticed in Firefox this works, but in IE, unless I change my "check for...
Sorry for my ignorance here. I went off on a tangent with the getElementByID (researchin online) attribute and lost track of my initial problem. My lack of knowledge combined with IE's wonderful debug mechanisms (j/k) doesnt make learning JS any easier, hence why I resort to alert()'s...
<select name="requirements[0][]" id="reqs" multiple size=10>
var reqs = new Array();
reqs = document.getElementById("reqs");
alert("req:".reqs)
this gives an alert with undefined.
alert("req:".reqs[0][0].value) <--- that fails
any suggestions?
Hello,
I have mutliple HTML
<select name="requirements[0][]" multiple size=10>
select boxes on my page that get used by PHP. [0][0] - [n]n]
my question is, how can I send this array to a javacript function to verify a value exists at [0][0] in such a way as i do with a text field...
how can i create a batch file to launch an executable with parameter arguments...
@echo on
"c:\crap.exe -Darg=crap"
pause
the -Darg=crap is not being processed, but the dos window doesnt not display any error, it just executes crap.exe alone.
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.