8,966 Posted Topics
Re: Read the [url=http://dev.mysql.com/doc/refman/5.0/en/full-table.html]mysql doc[/url] | |
Re: this.value just returns the value attribute, whether or not the checkbox is checked. See [url=http://jvance.com/blog/2009/07/14/GetValueOfCheckboxUsingJQueryToEnableButton.xhtml]this post[/url] how you can read if it is checked or not. | |
Re: You can use the mysqldump command on your PC to export all data to a .sql file. Send this to your friend. He can import this using the mysql command. | |
Re: Change line 4 into: [code] $query = mysql_query("SELECT * FROM `ujbeeFile` ORDER BY `position` ASC") or die(mysql_error()); [/code] You will see that you do not have rights to login, the database does not exist, the table does not exist, or there is an error in your query. ![]() | |
Re: You can find some on [url=http://stackoverflow.com/questions/90924/what-is-the-best-php-programming-book]SO[/url] | |
Re: [code] $sql="INSERT INTO $tbl_name(datetime, title, post)values('$datetime','$title','$post')"; [/code] | |
Re: You can use: [url=http://php.net/mysqli]mysqli[/url] [url=http://php.net/pdo]PDO[/url] [url=http://pear.php.net/package/MDB2]PEAR[/url] Or search google for tons more. | |
Re: Duplicate. [url]http://www.daniweb.com/forums/thread301238.html[/url] ![]() | |
Re: You can only get someone's email address if they specifically allow you to get it. Otherwise you may get a Facebook proxy address, that only your registered application can use. | |
Re: 1. The reason I use div's is because span's often give me trouble. 2. toggleClass toggles a specific class on and off, so you can't use it like you do now 3. I gave my div the id #toggle, so I could bind the click to. 4. In the click … | |
![]() | |
Re: I know of several candidates: [url=http://code.google.com/apis/chart/]Google[/url], [url=http://code.google.com/p/flot/]flot[/url], [url=http://highcharts.com/]HighCharts[/url], [url=http://www.jqplot.com/]jqPlot[/url]. Google is URL based, the others are javascript solutions. | |
Re: If you explode your $AllComments into an array, where each item is a line, then you would be able to use [url=http://php.net/manual/en/function.usort.php]usort[/url] to sort it. The two items can be exploded in the compare function so you can check the date and time. Perhaps by merging them and converting them … | |
Re: Are your columns perhaps varchar instead of numeric ? | |
Re: [code] SELECT * FROM table1, table2 WHERE table1.id = table2.id SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.id [/code] | |
Re: You can use [url=http://php.net/manual/en/function.sprintf.php]sprintf[/url]. [code] echo sprintf('%.2f', $c); [/code] | |
Re: [url=http://www.oxid-esales.com/]Oxid[/url] currently has such a module in alpha. Not sure if they're going to charge for it. | |
Re: Maybe a trick like this one: [url]http://www.sqlmaestro.com/resources/all/row_level_security_mysql/[/url] | |
Re: - This site has a webservice: [url]http://www.geonames.org/[/url] - Not sure if the Google API returns cities. - You can import them to your server. Querying your own server makes your website less dependent on third parties. You can always implement some caching. | |
Re: Something like this, if the image in table2 is optional. [code] SELECT * FROM table1 LEFT JOIN table2 ON table.userid = table2.userid [/code] | |
Re: For mySql it is [url=http://php.net/manual/en/function.mysql-insert-id.php]mysql_insert_id()[/url] | |
Re: You may want to elaborate some more, perhaps with part of your code or an url to view the result. This is a bit vague. | |
Re: Start here: [url]http://www.daniweb.com/forums/thread59075.html[/url] | |
Re: It all depends on how regular they crawl your site, and how your site is setup. Do you use a sitemap and a robots.txt ? Because this can speed things up. | |
Re: What is srv\ins ? It should be a hostname or ip address. | |
Re: It is an image map. You best look at the documentation, forum or wiki on your shop's website. There maybe a configuration or plugin for it. | |
Re: They are different because most screens have smaller resolutions and normally bandwidth is limited when compared to your normal connection at home. Some do not support javascript or other features that are common on normal websites. | |
Re: I think you can use CURDATE() to do that. The time will be set to zero IIRC. | |
Re: IE shows javascript error "Invalid argument". Probably one of your classes can not be found, yet you try to perform an action on them. | |
Re: Did you check their wiki or forum. A quick search came up with this: [url]http://www.phpwcms-docu.de/index.php?aid=395[/url] | |
Re: If you want your map to do a "live" update, then you need to make a polling mechanism. Use AJAX to check with the server, say, every minute. The server would need to keep track of the last item returned per session. | |
Re: Instead of the text, output mysql_error(). Then you'll know some more. | |
Re: [code] RewriteRule ^(.*)/test.php\?(.*)$ test.php?language=$1&$2 [NC] RewriteRule ^(.*)/test.php$ test.php?language=$1 [NC] [/code] | |
Re: Use only one H1. A nice description can be found [url=http://www.hobo-web.co.uk/seo-blog/index.php/headers/]in this article[/url]. | |
Re: [url]http://www.sohtanaka.com/web-design/automatic-image-slider-w-css-jquery/[/url] | |
Re: First you remove the html, then you scan it for the amount. It would be wise to swap those two lines. | |
Re: You should do that in your back-end coding, instead of trying to put it in your query. | |
Re: Do you want to select null values when searchstring is null ? [code] SELECT * FROM Punnu1 WHERE Column11 LIKE CASE WHEN @Search_String IS NULL THEN NULL ELSE '%'+@Search_String+'%' END [/code] Although I think LIKE NULL does not return any NULL columns. The problem with the case is that you … | |
Re: Including the same file again is not much of an issue, since the browser will cache the file (it will not be downloaded again). It can be, it depends on what you want to achieve I guess. | |
Re: If your search terms are in the same table, you can just add a WHERE clause to the query, before the HAVING. | |
| |
Re: If you post your form and a topic is Test for example, then you can read $_POST['Test'] You may want to look at [url=http://www.daniweb.com/forums/thread287240.html]this thread[/url] for an easier option. | |
Re: If you are moving from MySQL to SQLServer than the "Microsoft SQL Server Migration Assistent" is a nice tool. | |
I'm in need of opinions. I currently have several low-traffic Dutch websites, all equipped with an RSS feed built by me. Would it be better for my sites if I promote the feeds at FeedBurner instead of the current on-site ones ? Does it matter for SEO ? Any other … | |
Re: In the source of the homepage you have P tags with a width larger than 900px. The table is only 900px wide, so I think you should remove the width on the P tag to solve this. | |
Re: I use [url=http://phpthumb.sourceforge.net/]phpThumb[/url]. It requires a small change if you are using the latest PHP version, but I'm satisfied with it. | |
Re: He is using Navicat, which has that option. You have to make sure that your source and target connection and database is different. Also, in the advanced tab, there is an option to "drop objects before create". | |
Re: Put the form online, so we can see the result. Then commenting will be much easier. |
The End.