8,966 Posted Topics
Re: We've recently switched from Sifr To Cufon, which appears to function much better. The integration is easy, only the rendering of the javascript from a font file takes a little time. | |
Re: How can there be a post in your table equal to or later then the current time ? | |
Re: Perhaps Navicat (navicat.com). Been using it several years. Data migration is one of it's features. | |
Re: `college_id` int(100) NOT NULL The second value row in your insert tries to add all blank values, which is not allowed. You should remove it, so the insert looks like this: [code] INSERT INTO `crispwer_unipro`.`users` ( `user_id` , `user_name` , `password` , `email` , `activationkey` , `status` , `fname` , … | |
Re: Wider as in width. A telephone plug is several mm smaller than an ethernet plug. This is because the telephone uses 6 cables, and ethernet 8. [url]http://en.wikipedia.org/wiki/RJ11,_RJ14,_RJ25[/url] [url]http://en.wikipedia.org/wiki/Ethernet[/url] | |
Re: When you invoke the mail() function, it tries to connect to the smtp server, as specified in the php.ini I don't know where you are trying to connect to, but not all mail servers allow this. If you are trying to connect to localhost, then you need a local smtp … | |
Re: [code] $query = 'SELECT id FROM user WHERE username="$uname"'; [/code] Since you are using single quotes for this string, $uname is not replaced with the value of your variable. You should use this: [code] $query = "SELECT id FROM user WHERE username='$uname'"; [/code] Strings with double quotes are parsed (for … | |
Re: Are you sure that smtp has been enabled in exchange server ? | |
Re: Start here: [url]http://w3schools.com/php/php_intro.asp[/url] | |
Re: Where is the information coming from ? In sites I've made, the RSS feed is generated by PHP and a template to show the 10 latest news items. The latest 10 should suffice, because most readers store the history if you want, so there is not need to show all … | |
Re: This site is in flash. If you want to reproduce it without flash, I suggest you have a look at jQuery. | |
Re: It is just a call to a javascript function. | |
Re: Use this query. Replace 15 with the actual score from your user. [code] select score from table where score > 15 order by score asc limit 1 [/code] | |
Re: Correct. See this link on how you can make it work: [url]http://php.net/manual/en/language.variables.scope.php[/url] Although I'd recommend passing both arrays to the function, instead of using global variables. | |
Re: [icode]RandomNumber = New System.Random().Next(1, 100);[/icode] You'll have to check for duplicates yourself. Any particular reason you want to use this as a PK ? | |
Re: Here's a nice collection: [url]http://stackoverflow.com/questions/170208/must-have-books-on-your-bookshelf[/url] | |
Re: [code] if ( !preg_match('/^\w[\w_\-\*\.]{2,14}$/', $_POST['username'])) [/code] \w matches letters and digits {2,14} because you did not count the first \w An iterator applies only to the previous element, if no specific grouping applies. I was working on this, I think it should work (at least in regexbuddy it does) [code] … | |
Re: I think the for (var i in ...) is the problem. My guess is i is not an integer, but an object (element). I think you should store the document.getElementsByClassName('someclass') in an array and loop through it using for (i=0; i<array.length;i++). An other option would be to use jQuery, which … | |
Re: Next time, use code tags when posting code. This is very hard to read. Anyway, this code: [icode]If Page.IsValid Then[/icode] should be preceded by [icode]Page.Validate[/icode] | |
Re: Is PEAR:Auth not an option ? Think XML is the only one not supported yet by default. | |
Re: Here is an explanation of how to send/receive xml through curl: [url]http://forums.digitalpoint.com/showthread.php?t=424619#post4004636[/url] | |
Re: [url]http://www.smarty.net/manual/en/language.function.include.php[/url] | |
Re: I've not yet come across this kind of service. This would be very cumbersome, because a lot of coordinates would point to the same address. | |
Re: Not quite sure what you mean... You cannot put jquery code inside php code. If you mean something else, please try explaining with some more detailed code. | |
Re: This code is wrong: [code] if ($key != 'subject' && $key != 'company') { if( empty($_POST[$value]) ) { echo 'PLEASE FILL IN REQUIRED FIELDS'; exit; } } [/code] because $key will be an integer (so it will always evaluate to true), but that wouldn't explain your problem. Do you perhaps … | |
Re: The XmlDataSource is a .NET component, it won't run on a linux server. What language are you using ? PHP, Perl, Python, Ruby ? | |
Re: The string value is stored in a session variable, not as a hidden field in the form, as that would defeat it's purpose. | |
Re: Pro: If you can retrieve your (database, rss) data in XML then with XSLT you can easily turn it into an (X)HTML page. Example: If you want to show part of an external RSS feed on your website, then with XSLT it can easily be transformed into a structure that … | |
Re: As soon as you refresh, the entire page is reloaded (and intialized). I think the only way to fix this is to let jQuery use cookies to store what is selected. There is a cookie plugin on the jQuery website. | |
Re: I checked niftyplayer, but it does not work without flash. The player itself is in flash and needs to be loaded for the javascript to work. | |
Re: The first notice you get is because $_POST[dtext] may not have been set. This will result in an invalid query, after which it will fail, and put false in $result. Since $result is false (because the query failed), mysql_fetch_array cannot be called. The solutions would be: 1. Check if $_POST['dtext'] … | |
Re: You'll need to store it somewhere, e.g. in a database. Another option would be to use a third party tracker, e.g. google analytics. | |
Re: jQuery offers a lot of tools, examples and plugins to help you with this. Maybe something like this: [url]http://jonraasch.com/blog/contact-pop-jquery-plugin[/url] | |
Re: The LIMIT always applies to the end result of the query. Even without the limit, the count(*) will only return 1 result row. I'm not sure of what you try to achieve. If you want the count per sponsor, then you could try a union: [code] SELECT COUNT(*) FROM agents … | |
Re: I don't know why your specified a callback for the fadeIn, it doesn't appear to do anything. If you change success to the following, what happens ? [code] success: function() { $('#weekly_poll').html("<div id='message'></div>"); $('#message').html("<h2>Thanks for your vote!</h2>").hide().fadeIn(500); } [/code] | |
Re: In most cases there would be a file in the root of the website called favicon.ico If it is not there, you can check the html header for the meta link tag "shortcut icon". | |
| |
Re: The if ($count) is inside the for loop, which doesn't get executed if there are no records found. Place the if ($count == 0) outside the for loop to fix it. | |
Re: Here is an example of how you could do it using jQuery: [url]http://www.pritaeas.net/public/jquery/enable-submit/[/url] | |
Re: Asynchronous just means that a call is made to e.g. a function, but that the code (next statement) won't wait until a response is received. | |
Re: What exactly are you referring to ? A webpage, or the application itself ? | |
Re: The .sql file is just a dump of the database. If you make changes to this file, it won't affect the database itself. You either need to use e.g. phpMyAdmin, a database tool or import the sql file again to change the database. What php files you need to change … | |
Re: This is the header I'm using: [code] <?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> [/code] | |
Re: This is not possible with only php. You need a program to do this for you. | |
Re: Table 'craftyartsalesmailcatcher.swd_account' doesn't exist You're missing a table. Make sure your database is correct. | |
Re: Found this link, and made it into this: [url]http://expressionengine.com/forums/viewthread/128806/[/url] [code] <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { var total = 0; function calcTotal() { $("input:checked").each(function() { var value = $(this).attr("value"); total += parseFloat(value); }); } calcTotal(); $("input:checkbox, input:radio").click(function() { total = 0; calcTotal(); $("input#total").val(total); }); }); </script> </head> … | |
The End.