Heya,
It's just my opinion, but I would think your application should check for that type of constraint on the data before inserting into your dataset.
That being said, I don't believe that pure XML offers regular expressions ... you'd have to use something like XQuery to run a regex pattern...
I don't really see any syntax errors; try placing a semi-colon after the closing brace of the public object declaration ... code should work though.
Greg
Depending on your version of MySQL, you can use FIND_IN_SET in your WHERE clause after version 5.0:
SET @list = "2" ;
PREPARE my_stmt FROM "SELECT * FROM `<table>` WHERE FIND_IN_SET(`my_id`, ?) != 0" ;
EXECUTE my_stmt USING @list;
returns 1 result, whereas :
SET @list = "2,3,4" ;
PREPARE...
Create a print stylesheet that is separate from your main design, and put all formatting for printing in there.
Link it using <link rel="stylesheet" media="print" href="myprintsheet.css"/>
Greg
I think you need 2 steps here - first step to the find the Accession-ID node that has the attribute matching 'Chart-ID'. The next step is to take found node and extract the ID attribute from it.
Here's a PHP example using simplexml:
<?php
$xml = '<?xml version="1.0" encoding="UTF-8"?>...
Try that in a browser other than IE 7 or Firefox; I "think" it's Firefox-specific but don't quote me on that. ;)
I would recommend applying a class of "noprint" (or something similar) to the stuff you don't want to print, and change your CSS to read:
.noprint { display:none; }
Without seeing...
...like such:
<div id="flag">
<img src="images/about_flag.gif" alt="flag" />
<div id="coyote"></div><!--end coyote-->
</div><!--end flag-->
* this is along the lines of what audiopro mentioned above, btw, except I left the image in the page *
Then your CSS for positioning looks like...
If it just stopped working, and no error messages are present, I would suggest that a) required files are missing in the production environment, b) your database connection script may be the fault, or c) something else. :P
HTH
Greg
To answer an earlier question by spewn, the reason that you didn't pull from the cache by placing a=1 in the send method of the http object is that you effectively changed the URL that the ajax object was going after; different URL, hence not a cached page.
The following two statements are...
Did you try the <word object>.PageSetup.Orientation = Landscape?
I think landscape is the correct constant to use; you may have to view documentation to find the correct constant value is this is not correct.
Greg
Weird ... I don't see any issues with the XML there. I also validated the XML against the W3C validator, no issues there.
You "could" try removing the space between "utf-8" and the ?> ... doubt that would be the issue. Also make sure there's no extraneous whitespace in the file.
Greg
Two options:
The first is what you suggested: delete the entries and then re-add them as appropriate (this is my "personal" preferred method).
The other option you have, and it's a little more code intensive, is to create a duplicate set of fields and name them as old_checkbox_1_value...
I love JQuery, so this is the type of solution I'm going to give you. :)
On a website I recently did, I enabled an "edit-in-place" JQuery plugin, which sounds like something you might want to do.
Here's the link to the plugin I used: http://davehauenstein.com/code/jquery-edit-in-place/
And...
LOL ... that's exactly what I was going to suggest ... I only was notified once on this thread instead of twice though ... hrmm ...
Oh well, glad it works for you.
Greg
For local testing, virtual directories are the way to go. Get a local webserver installed and running (I'm an Apache fan), and check the documentation for the webserver you chose for configuring virtual directories. Once your virtual directory is setup, http://<virtual_directory_name> loads...
I think what you're going to need to do is possibly use some sort of Ajaxy-type call in order to refresh / logout the user .... or attach a querystring variable to the window.location call.
In these javascript functions, the php session_destroy(); statement gets interpreted AND completed before...
If you are seeing boxes instead of characters, chances are that this is a non-printable character in the Access world.
What I normally do in this case is one of two things:
a) Make sure the charset is the same between the Oracle and Access worlds.
b) parse the field, and check the ASCII...
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.