Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~4K People Reached
Interests
Interests, 80's music and movies. Several other tv shows.
PC Specs
Windows 7, Ubuntu 10.10
Favorite Forums

13 Posted Topics

Member Avatar for Stefan_Lam88

The code you've provided, is working fine for me (however I just tested it in plain html file and not .NET). Do you have a live link to show us what's going wrong? I assume "JScript.js" is the jQuery file? If not you also need to include jQuery for it …

Member Avatar for dineshsjce
0
190
Member Avatar for devinodaniel

According, HTML spec an ID should only ever be used on once on the page, therefore getElementById will only access the first instance of the parameter passed to it. Your probably only going to be able to do what you need with a class or specific ids. However you may …

Member Avatar for Airshow
0
233
Member Avatar for Rewired

Judging from the files, the ROOT_PATH would be set in data/uploads/language/config.php. And not the other config file, though it is set there, the value is in the previous config file. Edit: Forgive me I didn't notice there was a page two when replying.

Member Avatar for MrDJK
0
249
Member Avatar for rajeesh_rsn

I wouldn't honestly recommend any framework let alone Zend (seen it's footprint?) [URL=http://cakephp.org/]CakePHP[/URL], [URL=http://codeigniter.com/]CodeIgniter[/URL], [URL=http://gilbitron.github.com/PIP/]PIP[/URL], [URL=http://fuelphp.com/]Fuel[/URL], [URL=http://framework.zend.com]Zend[/URL] The idea is, do you really need a framework for you project? If so do need something that's as bulky as Zend, or as simplistic/lightweight as PIP? Work out what you need, then …

Member Avatar for cereal
0
217
Member Avatar for haimz

My Regex does fail me, but I think something along the lines of this should work. [CODE=php] $var = "One line\nTwo Line\nThree Line\n"; $var = preg_replace('/\b$/m', ' ', $var); echo nl2br($var); //Convert newlines to br for viewing purposes.[/CODE]

Member Avatar for edwinhermann
0
98
Member Avatar for Nybuler

I assume you're using a PHP backend? If so try [URL=http://php.net/stripslashes/]stripslashes()[/URL] before returning the data back via the ajax request. Possible cause (if using a PHP backend) is multiple escaping, for example [URL=http://php.net/mysql_real_escape_string]mysql_real_escape_string()[/URL] and [URL=http://php.net/addslashes]addslashes()[/URL]. If this is just simply a Javascript problem, you could try just removing the slash …

Member Avatar for matricol
0
289
Member Avatar for dhruv_arora

[CODE=php]$q = 'INSERT INTO `users` VALUES (3, "user3", SHA1("pass"), "'.mysql_real_escape_string($fn).'", "'.mysql_real_escape_string($ln).'", "'.mysql_real_escape_string($email).'")';[/CODE] Remember to concatenate variables, within single-quote strings. Also what's the error you recieved?

Member Avatar for dhruv_arora
0
188
Member Avatar for coleguitajuan

I'm somewhat unsure on your question, however I assume you'd like to do something like below. [CODE]<form name="someForm" action="" onsubmit="checkValues()"> <p> <label for="name">Name:</label> <input type="text" name="name" id="name" /> </p> <p> <label for="email">Email:</label> <input type="email" name="email" id="email" /> </p> <input type="submit" value="Send" /> </form> <script> function checkValues() { //Combine here and/or …

Member Avatar for coleguitajuan
0
132
Member Avatar for Jaklins
Member Avatar for Jaklins
0
703
Member Avatar for didi00

Escape the quotes [CODE=php] echo "<img class=\"someClassName\" />"; [/CODE] or use single quotes [CODE=php] echo '<img class="someClassName" />'; [/CODE] -MrDJK

Member Avatar for MrDJK
0
76
Member Avatar for Sorcher

Generally checking a Javascript book out of your local library is a good start. Also there is plenty of ebooks on the web, and tutorial sites that can help you out. I'm not to sure on the linking policy on DaniWeb, but here is a couple of useful links. [URL="http://www.lynda.com/JavaScript-tutorials/essential-training-2007/375-2.html"]Lynda.com[/URL] …

Member Avatar for MrDJK
0
92
Member Avatar for ya.basha

Forgive the indentation, something weird happens copying and pasting from notepad++. Very simple, expanding circles, could be done a lot better, but I think it gives you an idea, I also attempted to get the colours right from your attached picture, which didn't go that well. Sorry, really didn't see …

Member Avatar for ya.basha
0
1K
Member Avatar for johndohmen1963

As far as I am aware, now this could be wrong. Internet Explorer sends, image/x-png. Just a little bit of advice, checking valid types from $_FILES isn't the best idea, [URL="http://php.net/getimagesize"]getImageSize()[/URL] may be the better alternative. -MrDJK

Member Avatar for johndohmen1963
0
137

The End.