We are creating a multi-language web app, so we want to serve up our pages as UTF-8. However we are using Microsoft SQL Server 2000 for our database back-end, which apparently does NOT support UTF-8 (only UCS-2).
See: http://support.microsoft.com/?kbid=232580
At this point I am completely...
PHV:
Basically, as users check/uncheck items from a group of checkboxes (web form, submission), I need to determine which records in a junction table to either insert or update. No records are actually deleted, just updated and flagged via 'deleteDate' column. But as you can probably guess...
PHV:
The batch will include multiple UPDATE/INSERT statements which will all reference the subquery (IN (SELECT ...)). I'm trying to store that subquery result set as a local variable rather than query it multiple times.
I've just found the table variable feature of SQL Server 2000:
DECLARE...
Is it possible to somehow store the result of a query in a local variable, and then reference that local variable in further statements such as "UPDATE Foo where Foo.x IN @myResultSet"?
This would need to be ODBC compliant and be possible in plain dynamic(php generated) SQL (no stored...
Code sample:
$foo = new DOMDocument;
It doesn't get more simple than that. This is apparently valid since it is used in various code examples for the object on php.net.
Also, php is running via php.exe not ISAPI.
I am running PHP 4.3.11 on Windows 2000.
I am unable to create a new DOMDocument object. I receive one or more of the following errors:
domdocument() expects at least 1 parameter, 0 given in
domdocument(): Start tag expected, '<' not found in
domdocument() expects parameter 2 to be long...
Does anyone know of a way to specify that an element should behave as 'click through', that is it does not capture the click, and the user can click whatever is behind that element?
For example if one positions a div with a background image of a semi-transparent shadow over an anchor, the user...
I know that database connections opened via odbc_connect, etc. are automatically closed when the script ends, but does this include scripts which are terminated via exit or die?
Is it possible to have an XHTML 1.1 document with custom tags (e.g. XUL) embeded within it, and use XSLT to transform only those custom tags into a standard HTML DOM, leaving the rest of the source document intact?
The pages may not have anything in common so I could never create a document template that would be 'dynamic' enough!. Also the pages are to be stored as separate documents (separate text/html .php files). I've heard that php can do conditionaly includes which could be one option i suppose...
Could someone please explain what is involved to enable my server/site/etc. to serve a document based on a URL query string?
I have a database which assigns an id to a path and filename and. I want users to be able to enter "http://www.mydomain?section=123" in the address bar and be served up...
Identified the cause, if you @import a stylesheet which is empty (no text), IE Mac will load forever. Putting /* */ in the file or not importing it if it is empty solves the problem.
I have external style sheets set up in the following hierarchy:
portal.asp
|---(link) portal/CSS/portal.css
|---(import) /core/CSS/core.css
| |---(import) /CSS/base.css
| | |---(import screen) base_screen.css
| | |---(import print) base_print.css
| |---(import...
Yes you have declared the arrWorking Array inside the GetMyArray Function and are then returning arrWorking. So myArr does indeed hold a valid reference to the Array created by the function? (i.e. arrWorking is not destroyed when GetMyArray exits?)
And likewise, if arrWorking was populated with...
Is it valid in VBScript to return a reference to an Array created within a Function? This is valid in Javascript, how does VBScript compare? If the answer is no it is not valid, how would one return a deep Array of unknown structure?
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.