I have a design question. I have a function loadImage() for loading an image file. Now it accepts a string which is a file path. But I also want to be able to load files which are not on physical disk
Exploring Javascript (and coming from the Java world). I have the follow开发者_Go百科ing line of code in a script:
I have a list of about 1500 strings from an external database and over time, as a group of business users managed them, they came to have recurring substrings which have semantic value.
$comment= mysql_real_escape_string($comment); I use this.. But it doesnt help. I use TinyMCE to insert strings to my database, but on selection I get weird characters...
I have a long string (a \"template\") containing \"replacement points\" in the form of %MARK% (there can be more occurences in the string for a single given marker too). I want to replace these marker
I get a string from XML likebelow: This is theSample text I need to get all thisbut only with single spaces
I have path like this...\"C:\\restore\\restoredb\\\" In that path i have files like this.. backup-2011-10-12T17-16-51.zip
i have floating point variables \"lmin\" and \"lmax\". i wish to display only 4 significant digits. i am currently using something i have found online of the form ...
I have a list of words e.g : \"Moon\",\"开发者_运维知识库Sun\",\"Jupiter\",\"Mars\" they are all stored in an array, lets call it \"planets\"
I have a small custom made thumbnail gallery. On click of a thumbnail I want to get the bigger version of the image. To do this I am getting the img\'s src. With that I want to replace a certain secti