hi all,
my question is (regarding the ReportType class):
is there a way to loop through the costants defined in the class?
this is my enum implementation:
final class ReportType {
const Total = 'total';
const SpecificCenter = 'specific_center';
const AllCenters = 'all_centers'...
Hi all,
in my database, I have:
- a table "Visit"
- a stored procedure "sp_create_visit"
- a table "logs"
CREATE TABLE `logs` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`operation_type` int(2) NOT NULL DEFAULT '1' COMMENT '1=no changes; 2=insert, 3=update, 4=delete',
`users_id` int(11)...
Hi all,
is there a limit to the number of parameters in a stored procedure?
I have an engine that generate a "CREATE PROCEDURE" script that receives in input a list of columns.
I cannot find a way to pass an array parameter in MySQL, so the XSLT must create a parameter for each column:
CREATE...
Hi all,
how can I create a cursor for a SELECT statement previously prepared?
I must do something like this:
DECLARE cur CURSOR
FOR SELECT * FROM <tab> WHERE Id=<id>;
<tab> and <id> are parameters passed to my stored procedure.
Can I prepare the SELECT statement and then assign it to the cursor...
Hi all,
I'm using a MySQL database that contains some stored procedures. Some of them have output parameters.
How can I call those sproc?
I've tried using mysqli, but I cannot understand how to call a procedure that execute a SELECT statement and use 2 output parameters. :-|
i.e. how can I...
Hi all!
This is the problem: I have a server application and various clients that show data using a grid. I would like that when a client asks the server to save data in the db, the server sends the changes to the other clients (so that they can refresh their data).
I use a MarshalByRefObject to...
Hi all,
how can I remove CRLF chars from a string?
I have this fragment of XML that create a javascript output:
<xsl:text>
dd.elements["</xsl:text><xsl:value-of select="@domid"/><xsl:text>"].props["content"] = "</xsl:text>
<xsl:call-template name="cleanQuote">...
Hi all,
I use Visual Studio 2005 to create my xsl transformations but I don't understand how can I use functions.
Searching on the internet I see that exists the tag <xsl:function> but VS doesn't recognize it (and in the MSDN index this tag is not documented)... is there an other way to create...
Hi all,
I have this XSLT:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" />
<xsl:template match="/">
<html>
<head>
<title><xsl:text>Actide -...
Hi all!
I have an XML file representing the definition of a page (a list of items such as radio, check, paragraph and textbox with their properties) and an XSL Tranformation used to visualize the page as HTML.
The problem is the formatting of the output (HTML), full of tabs, spaces and carriage...
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.