430 Posted Topics
Re: I think you want a [URL="http://code.google.com/intl/nl/apis/language/translate/overview.html"]Google Translate API[/URL], but it's deprecated. You could also use the [URL="http://www.bing.com/developers"]Bing API[/URL]. | |
Re: [CODE]$('tr input:checkbox').is(':checked')[/CODE] | |
Re: You could try to add [icode]'masterID=' + document.getElementById('masterID').value[/icode] in send(), assuming that the input element has that id. But I've always found ajax a pain, without a library. | |
Re: I'm not sure, but I think the key must be binary. | |
Re: Could you add [icode]print_r($shopConfig);[/icode] at line 16? Especially take a look at this value in line 20 - seems strange to me (even if you type a real email there). | |
Re: In order to view a gif, you don't have to convert it to swf. You could write some stuff around it that handles the play button - a play image, an image preloader, and a click handler :) | |
Re: That's a really old script, it's meant to work in IE and Netscape. I still recommend Flash, but you could try an [icode]<object>[/icode]. | |
Re: I don't know why someone downvoted that, I find it good questions. While writing a CMS (of course) won't get boring soon, you'll be careful not to do things over and over again in writing it, too. Some tips: You'll definitely have to make a class for every [i]part[/i] of … ![]() | |
Re: You could use any server side language for this. For example, you could change the extension of your pages to php and write this: [icode]<?php include 'menu.php'; ?>[/icode] Where menu.php contains the menu (duh). You could also do it the other way around, put the menu in index.php and include … | |
Re: Perhaps that's because of the Panda update? Just a guess, though, because quite some sites have been hit by that update (including daniweb). | |
Re: [url]http://petewarden.typepad.com/searchbrowser/2008/06/how-to-post-an.html[/url] Edit: perhaps this is not what you want, take a look at get_headers(). | |
Re: I prefer [url]http://devzone.zend.com/article/627[/url]. Both aren't perfect, but Zend tries a bit harder to teach you some best practices, and as you mention database injections, w3schools [url=http://w3schools.com/php/php_mysql_insert.asp]doesn't talk about that[/url] but Zend [url=http://devzone.zend.com/node/view/id/642]does[/url]. | |
Re: Internet Explorer doesn't support this box shadow thing. Give it a border (black 1px) at least. Also, it's nicer if you give it background:#FFF; | |
Re: As this is server-side (as the name suggests), you normally won't see it in the source. | |
Re: @Sorcher, is English your native language? If not, you're forgiven :) What floor does, is round any number, but downwards. So: [CODE] echo floor(2); // 2 echo floor(2.5); // 2 echo floor(2.999); // 2 $x = 9; echo floor($x / 10); // 0 $x = 10; echo floor($x / 10); … | |
Re: My thought is that you should use the onchange event of the select element. | |
Re: [url]http://www.savio.no/examples/three-column-layout-1.asp[/url] | |
Re: [url]https://developer.mozilla.org/en/AJAX/Getting_Started[/url] | |
Re: Please don't post a question [url=http://www.sitepoint.com/forums/search-engine-optimization-3/what-exactly-shallow-content-763215.html]on two places[/url]. Read: [url]http://www.masternewmedia.org/the-google-panda-guide-part-1-what-it-is/[/url] | |
Re: Well, it depends. Do you want the first day of the week to always be the first day of the month? Besides: [url]http://php.net/manual/en/book.datetime.php[/url] | |
Re: No, but if you used GET, you would have to use $_GET instead of $_POST. | |
Re: You could try to put them both in a div, with the div's width:auto, and the tables a maximum width. Or you could the width of the second table to the width of the first table with javascript (onload). | |
Re: As I understand it, you want some sort of tabs thing? You could do something like this: [CODE=HTML] <div class="menu"> <div class="tab1">Home</div> <div class="tab2">Bla</div> .. <div id="content"> <div class="tab1">Home text</div> <div class="tab2" style="display:none">Bla text</div> .. [/CODE] [CODE=Javascript] $(function() { $('.menu > div').click(function() { $('.content div').css('display', 'none'); $('.content .'+this.className).css('display', 'block'); }); … | |
Re: Okay, some hints. - Use code tags :) - This doesn't exactly matter, but your select name doesn't make sense. You better rename it to something else (perhaps state, but you're using name?). - Options have a value, not a name. (Perhaps you also mean $row[State]? But I'm not sure … | |
Re: I think you're forgetting [icode]$checkedout == 0 && [/icode] on line 36. And then on line 60 you can just remove the if. | |
Re: Really long, but useful: [url]http://diveintohtml5.org/video.html[/url] | |
Re: Probably $page starts with one? Try to [icode]echo "SELECT * FROM Populace ORDER BY Name LIMIT $start, $ppp"[/icode] first, and run that in phpmyadmin or something similar. | |
Re: As far as I understand those things, you have to salt first, and then hash it - and not just md5, but really a lot of them mixed. It's a good idea to use someone else's security script, also. | |
Re: One way is to create an image (1px width, but very 'high') that does just that and repeat it horizontally. Another way is to create the (pure) css for that at [url]http://www.colorzilla.com/gradient-editor/[/url]. | |
Re: For every account (email) type you want to be able to access, you'll have to find an API that you can use to get the list of contacts. As for gmail, take a look at: [url]http://code.google.com/apis/contacts/[/url]. | |
Re: Well, there are a lot of ready-made scripts that can do that for you, but on the other hand, if you only need a simple xml, you could easily write it yourself. Just start with looking at how a simple xml file should look, create that, and use file_put_contents for … | |
Re: Yes, in html5 there is: [icode]<input type="date">[/icode]. But it's not really widely supported. | |
Re: Yes, as you need only one row, a while loop is not necessary. As for the other change, I prefer the original version. If the site is down now, the code will be invalid (the body and html closing tags are missing - you could also add them in the … | |
Re: Try something like this: [code] if (isset($_POST['submit'])) { $reg_agent = $_POST['reg_agent']; $reg_license = $_POST['reg_license']; if ($_POST['reg_agent'] == "Yes" && !empty($reg_license)) { $dbc = mysqli_connect("localhost", "xxxxxxx", "xxxxxxxx", "xxxxxxxxxx"); $query = "INSERT INTO user_test (reg_agent, reg_license) VALUES ('$reg_agent', '$reg_license')"; mysqli_query($dbc, $query); } else { echo 'You need to enter a license number.<br … | |
Re: Yes, good idea. Perhaps it could be implemented so that if the code contains something between {{{ and }}} those pieces of code are shown, and the rest is hidden? The only problem is to get new users to use this. They often don't use code tags at all. ![]() | |
Re: I haven't done research on this, but my guess is that it's used for personalisation and social (sharing) stuff rather than the place on the page. If it has any influence at all, perhaps only if many people vote up or something like that. | |
Re: @mrcniceguy please don't write in all caps, and mark solved threads solved. ![]() | |
Re: Why would you want to do this? Sounds like spam to me. | |
Re: It might be that that's not the problem, but there's a missing ) at the end of the query. What does [icode]var_dump($daysLate);[/icode] say? | |
Re: It's easiest if you give it an ID, first. Then: [code] document.getElementById('that_id_you_gave_it').value = '3'; [/code] | |
Re: [url]http://pear.php.net/package/Spreadsheet_Excel_Writer[/url] | |
Re: Well, start with posting a link to that page. | |
Re: Well, before you execute your query (account.php line 14), you'll have to do some validation. If gender == male && type == B echo error, something like that. | |
Re: Well, if you just search for "yahoo api" (etc) you should be able to find it. | |
Re: I'm not sure if I understand what the problem is, but what you want might be an different easing. If not, do you have a page live to explain what doesn't work? | |
Re: I would try to use css. To create an hover effect, do something like this: [CODE=CSS] table:hover { background-color:#F00; } [/CODE] Furthermore, if you search for "gimp make png transparent" you'll get a lot of tuts/ explanations. | |
Re: /styles.css is in fact an absolute path. A relative path would be styles.css. "having to create a local folder" - I don't really understand this, you can't access a local folder from the web, but that's probably not what you mean. Perhaps you have a link to somewhere you have … | |
Re: Well, if you absolutely need to do this, you'll have to find a way to read doc's and pdf's, and write the whole thing into one pdf. Also look at [url]http://www.phplivedocx.org/2009/02/06/convert-doc-to-pdf-in-php/[/url]. | |
Re: I suspect that (if this works) you need [icode]feed[0].userID[/icode]. If that doesn't work, try to log feed ([icode]console.log(feed);[/icode]), look at your browser's log, and figure out what [icode]feed[/icode] is. |
The End.