8,966 Posted Topics
Re: [code] document.getElementById('email').value [/code] Gets the element by id, not by name. So add [icode]id="email"[/icode] to the input. | |
Re: Well, if it is used in the actual processing I consider it insecure. If it is additional handling and nothing of value is transmitted, note that users will still get a message from the browser that insecure content is being loaded. A lot of users will then abort. | |
Re: SugarCRM does not yet support 5.3. If you really need to run it you may consider installing an older version of WAMP running 5.2.x | |
Re: If there is indeed a slash in front of your file, it will be searched in the root of your drive, probably C:\common.inc.php. Remove the leading slash, to search in the current folder, or add a relative path to it. | |
Re: [icode]$("#p").append("<tr>");[/icode] This will attach the tr tag to the paragraph with id p. Your next line is [icode]$("#p").append(...);[/icode] which does the same. It should read: [icode]$("#p tr").append(...);[/icode] | |
Re: Something like this ? [url]https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/donate-intro-outside[/url] What is it you want to buy ? Made me curious... | |
Re: Do you want a component that does this for you, or do you want to build it yourself ? In the last case, you may want to have a look at windows regions. More info here: [url]http://www.efg2.com/Lab/Library/Delphi/Graphics/Algorithms.htm[/url] See about half way down the page, or search for "Hotspots". | |
Re: Have a look at my solution in this thread: [url]http://www.daniweb.com/forums/thread208243.html[/url] It uses an array to store the popup window information. It works without the need of a delay. | |
Re: I've written a jQuery plugin that will highlight words on a page that are found on wikipedia. It could be a starting point for you. The check if a word is on wikipedia can be changed to check a word in a textfile. Adding a link to a word can … | |
Re: Do you have the following code at the start of your PHP code of every page ? [code] if (!session_id()) session_start(); [/code] | |
Re: My recommendation would be to pack all js scripts together into one file and include that one on every page. It would mean a bigger download on the first run, but on every next page, the scripts are taken from the browser's cache. | |
Re: What database, mssql ? What kind of encryption ? What are you trying to achieve ? | |
Re: HTML is a static markup language. It has no support for events, just layout. | |
Re: Basically, it's a word guessing game, which shows you which letters are correct in place, and which are correct but in the wrong place. 6 Letter words and 5 tries to get it right. | |
Re: You mean something like this: [url]http://www.phpclasses.org/browse/package/2365.html[/url] You can start of with this, and then make it better. If you are looking to compare only java code files, then you can add some specific functionality, e.g. searching for function definitions. | |
Re: I've used this: [url]http://www.1-4a.com/rename/[/url] But you can just search google for file renamer if you want another one. | |
Re: What line is line 7 ? You can see if you choose to debug the javascript error in IE8. It will be the highlighted line. | |
Re: [url]http://www.google.com/search?q=free+website+templates[/url] | |
Re: Your webhost provides (ftp) access for you. You can use an ftp client to upload your files. If your host provides a control panel (e.g. cPanel) you can also use this web interface to upload your files. | |
Re: Could it be that the query is returning 4 rows, yet your code isn't displaying them all ? | |
Re: URL to view your code would be nice. Plus which element is not displaying right. | |
Re: I found the solution here: [url]http://www.rittau.org/blog/20061120-00[/url] Change the first line into: [code] var morerow=document.getElementById("tbl").getElementsByTagName("tbody")[0]; [/code] | |
Re: it finds something if i search for "information". As far as i can see it is correct. You can see what is indexed for your site if you search google for site:valatinpromotions.com | |
Re: You can add another css change on the blur event: [code] $(document).ready(function(){ //make form display yellow color when mouse is focused on item $("input").focus( function(){ $(this).css('background-color' : 'yellow'); } ).blur(function(){ $(this).css('background-color' : 'white'); }); }); [/code] You can also use the toggleClass function, instead of changing the css in code. | |
Re: You should indeed check if there is a result before the while to catch this, like so: [code] $result = mysql_query("SELECT * FROM admin WHERE name ='shyloo'"); if ($result) { while($rs = mysql_fetch_assoc($result)) { echo "<tr>"; echo "<td>"; echo $rs['name']; echo "</td>"; echo "<td>".$rs['address']."</td>"; echo "<td>".$rs['tele']."</td>"; echo "<td>".$rs['comp']."</td>"; } } … | |
Re: If you are checking two different values, shouldn't they both be in the sql ? Currently both fields are referring to $a. | |
Re: You can start it using php.exe php.exe myscript.php Here is some more info: [url]http://php.net/manual/en/features.commandline.php[/url] | |
| |
Re: It appears to be a css solution. I think you can best copy the source of the page and start removing bit by bit the things you don't need. | |
Re: [QUOTE=rajad2010;1092958]i tried but get Parse error: syntax error, unexpected T_STRING in on line 90.[/QUOTE] [code] $xpath->query('//div[@class='details-subprice']') [/code] | |
Re: You want a different class for the even and odd rows ? Use a counter in the while loop (initialized by zero), and increment it at the end. You can then use: [code] $class = ($counter % 2) == 0 ? '' : 'alt'; [/code] and use $class in the … | |
| |
Re: You can just retrieve your news items from your database and feed them into a template, which will output your RSS xml. What language are you using ? | |
Re: Maybe Auth from the PEAR package ? [url]http://pear.php.net/package/auth/[/url] | |
Re: Use the full FromName so it contains the name and the email address in < > Hans Pollaerts <pritaeas@example.com> This fixed it for me. Try to conform to the standards as much as possible. | |
Re: You should initialize $record before the loop, in case the query fails. | |
Re: According to the specs it would be something like this: [code] $id = 1; // your person id for which you want to retrieve the notes $ch = curl_init("http://rattletree.highrisehq.com/people/$id/notes.xml"); [/code] You can find this example on the "Introduction" page. | |
Re: According to this thread: [url]http://www.wampserver.com/phorum/read.php?2,41185,41191[/url] it could be a problem with the oci.dll. Try downloading the correct version, and replacing the one from wamp. | |
Re: I use a similar method for creating an rss feed. My solution is to extract only the first paragraph. If needed you could delete some or all tags from it (e.g. img). | |
Re: Am I correct, that you want to send a mass-email to your users (something like a newsletter), but you want to send only one, each time somebody visits your website ? Why not make an administration script to send the email to everyone at once, or per 100, 200 or … | |
Re: Did you check where you copied the files. Maybe they are in a different folder then you specified. | |
Re: [icode]echo < < < ENDHTML[/icode] should be [icode]echo <<< ENDHTML[/icode] Second, Maybe it's a copy/paste issue, but you should use regular single or double quotes in php for strings, not backticks. | |
![]() | Re: OpenID: [url]http://openid.net/developers/libraries/[/url] I've tried the PHP library, and the examples worked out-of-the-box. ![]() |
Re: An .htaccess file is designed to instruct apache what to do with certain requests. It is not for coding login forms etc. | |
Re: Can you post a small piece of html to go with this, and a small explanation of what it is supposed to do ? It's hard to discover a flaw, without additional information. |
The End.