Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: lijil
  • Order by date
  1. lijil

    PHP and MSSQL, UTF-8 and UCS-2

    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...
  2. lijil

    Can you reuse a subquery result set?

    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...
  3. lijil

    Can you reuse a subquery result set?

    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...
  4. lijil

    Can you reuse a subquery result set?

    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...
  5. lijil

    DOMDocument errors (start tag expected, param 2 long)

    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.
  6. lijil

    DOMDocument errors (start tag expected, param 2 long)

    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...
  7. lijil

    Allow user to 'click through' CSS shadows

    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...
  8. lijil

    are database connections closed after exit/die?

    No I am not experiencing any problems, I am just unsure of the behaviour. My guess also is that they ARE closed, I will post any info I find.
  9. lijil

    are database connections closed after exit/die?

    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?
  10. lijil

    XSLT: Transforming only portion of document

    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?
  11. lijil

    Internal redirection

    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...
  12. lijil

    Internal redirection

    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...
  13. lijil

    IE Mac loading forever with external css

    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.
  14. lijil

    IE Mac loading forever with external css

    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...
  15. lijil

    Returned Array scope

    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...
  16. lijil

    Returned Array scope

    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?

Part and Inventory Search

Back
Top