8,966 Posted Topics
Re: There are websites where you can run a logo challenge, and only pay the winner. You'd have to google for it, I forgot the link. | |
Re: [url]http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/114822[/url] | |
Re: [url]http://www.csszengarden.com/[/url] [url]http://jquery.com/[/url] And what has this to do with PHP ? | |
Re: If you can read the half copied file, get it's size and append to it, then yes, it should be possible, but not with copy. You'd need to use fseek/fread/fwrite. | |
Re: You can't with URL masking enabled. Your DNS entries should change to point to your hosts nameservers. Check with your blog host and domain provider if this is possible. | |
Re: Addition: mysql_fetch_array actually returns both the numerical and the associative by default. | |
| |
Re: In your while loop, for the item that matches [iCODE]$q[/iCODE], add the following attribute: [iCODE]selected="selected"[/iCODE] | |
Re: Remove the comma after category in your insert query. If you add error checking, you can find these mistakes very easily. | |
Re: If you use a while loop for all results, you can store the previous year, and check whether it has changed in the next loop. If it has changed, output the year, otherwise don't. [CODE] $year = 0; while ($result = ...) { if ($year <> $result['year']) { $year = … | |
Re: There's a lot of info on the subject online, but not much specific to PHP implementations. So start with Google and define the logic you want to build. | |
Re: Not possible with .htaccess, but you could do it with Javascript/jQuery. | |
Re: If this is executed locally, without a webserver, then the remote Javascript file will not be executed for security reasons. If you are running WampServer or XAMPP (assuming Windows) locally, then it should work. | |
Re: It's probably an error in Chrome/front-page.php, check your quotes in that file. | |
Re: Are your mail settings correctly entered ? | |
Re: getElementById returns an object. You cannot set a value to it. Try this: [CODE] var element = document.getElementById('action'); element.setAttribute('value', val); [/CODE] | |
Re: We're here to help you with your code, not to hand out complete solutions. | |
![]() | Re: Make a base class for your classes. Put your general functions there. Every descendant will have them. ![]() |
Re: 301 redirects don't get indexed, so they are useless in terms of SEO, and no, it will not blacklist your website, only slow it down. | |
Re: Perhaps they use [URL="http://www.iis.net/download/urlrewrite"]IIS URL Rewrite[/URL]. | |
Re: The latter makes a lot more sense to me. If you look at the [URL="http://docs.jquery.com/Plugins/Authoring"]jQuery manual[/URL] you see that the plugin name should be: "jQuery.fn.myPlugin", so why not use it as your filename in the same order too. | |
Re: It's hard to make a design choice for you, but if I were to do this, I'd probably store it in the class. If the class is designed correctly, you can just stream the entire object to file/stream, and read it back in again (WriteComponent/ReadComponent). | |
Re: See [URL="http://php.net/manual/en/function.mail.php"]the manual[/URL], example #4. | |
Re: If the value attribute is used without quotes, then the space (after Five in your case) will be assumed as the separator for the next attribute. [CODE=html] <!-- this was your output --> <input type='text' name='reg' value=Five Stars /> <!-- this is what it should be (as amitengg showed) --> … | |
Re: [url]http://pear.php.net/manual/en/pyrus.commands.install.php[/url] | |
Re: Example #3: [url]http://php.net/manual/en/language.oop5.late-static-bindings.php[/url] | |
Re: You referring to the [URL="http://www.microsoft.com/download/en/details.aspx?id=18909"]SDK[/URL] ? | |
Re: Happens to everybody... get over it. Give the right example, and don't fuss about it. | |
Re: Two options: 1. Install a mail server. I think some people here mentioned Mercury for Windows. 2. Use PHPMailer (or a similar tool) and a GMail account for example. And yes, it requires recoding. | |
Re: [url]http://php.net/manual/en/function.strtotime.php[/url] Example #1: "+1 week" | |
Re: Search this forum for pagination. There are several threads on the subject, with solutions. | |
Re: Updating the question number in the database should do it. At the start of the code your retrieve it, so it should work as it is. I recommend to use this query though: [CODE] $query = "UPDATE user SET questionNo = questionNo + 1 WHERE name = '$_SESSION[user]'"; // execute … | |
Re: Check size limitations too. | |
Re: Perhaps a database trigger. You can write an update trigger, that gets activated when a record changes. Then you decide to insert a record if the amount is high enough. If this is what you want, I suggest you have this question moved to the MySQL forum. | |
Re: @iamthwee: Nice tutorial. What the OP appears to be missing here, is that his PHP file is running in the background. The echo's will not display anything to the screen, but will be returned as data in the success function of the jQuery post. He really needs to read up … ![]() | |
Re: @jkon: well said. I found this note somewhere which I really like: "We use static class when there is no data or behavior in the class that depends on object identity." Personally, I try to avoid static classes. The only exception is usually a factory class. Additionally, read up on … | |
Re: Replace the links with a link that points to your PHP script, and pass the ID of the URL as it is in the database. Using that ID, you can then redirect to the link in question. | |
Re: A database is not necessary, but it will probably much easier to store/retrieve your ratings from a database, then for example a file. | |
Re: Not sure what you are after, but if you are just copying data you can use a single query: [CODE=sql] INSERT INTO `history_log` (`name`, `time`) SELECT `members`.`name`, `time_attendance`.`time` FROM members LEFT JOIN `log_time`.`time_attendance` ON `members`.`code` = `time_attendance`.`code` LIMIT 0, 30 [/CODE] | |
Re: Sounds like you need to google for "form builder". What you describe is something like Wufoo, Idega or Orbeon, but then hosted internally. An open source CMS like WebsiteBaker has it too. A narrower search can be performed if you know what platform you prefer to use. | |
Re: Have you tried this: [CODE] $('#uimage').fadeIn('slow', function(){ resize(); }); [/CODE] Are you sure there is no CSS for that id specifying a fixed width? | |
Re: You will have to use a while for shift, just like you did for the second query. | |
Re: [URL="http://api.jquery.com/hide/"]hide()[/URL] can use a callback function when done, so you should nest them. | |
![]() | Re: Your connect should use a DSN, not just the table name: [url]http://php.net/manual/en/function.odbc-connect.php[/url] |
Re: You will have to pass a page number back to your PHP file, and retrieve the next set of data. Search this forum for pagination. | |
Re: [URL="http://www.php.net/manual/en/refs.webservice.php"]SOAP or XML-RPC[/URL]. Any reason why you don't want to use cUrl? | |
Re: [iCODE]addr[/iCODE] is not a column name. You should probably use [iCODE]addresse[/iCODE] |
The End.