8,966 Posted Topics

Member Avatar for PixelExchange

Read the [url=http://dev.mysql.com/doc/refman/5.0/en/full-table.html]mysql doc[/url]

Member Avatar for PixelExchange
0
134
Member Avatar for Lolalola

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.

Member Avatar for pritaeas
0
92
Member Avatar for suhailansari

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.

Member Avatar for teedoff
0
162
Member Avatar for comhacker99
Member Avatar for umandajayo

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.

Member Avatar for rajarajan2017
0
82
Member Avatar for $urya

You can find some on [url=http://stackoverflow.com/questions/90924/what-is-the-best-php-programming-book]SO[/url]

Member Avatar for metalix
0
162
Member Avatar for Awah Mohamed

[code] $sql="INSERT INTO $tbl_name(datetime, title, post)values('$datetime','$title','$post')"; [/code]

Member Avatar for metalix
0
91
Member Avatar for comhacker99

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.

Member Avatar for metalix
0
67
Member Avatar for elum.chaitu
Member Avatar for rajarajan2017
0
55
Member Avatar for mohammed2raja

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.

Member Avatar for pritaeas
0
61
Member Avatar for ablitz

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 …

Member Avatar for amko
0
4K
Member Avatar for asiyak
Member Avatar for pritaeas
0
47
Member Avatar for jamesyrawr
Member Avatar for xuexue

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.

Member Avatar for pritaeas
0
62
Member Avatar for ptemedia

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 …

Member Avatar for chrishea
0
2K
Member Avatar for Tommy.b
Member Avatar for cristi08

[code] SELECT * FROM table1, table2 WHERE table1.id = table2.id SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.id [/code]

Member Avatar for cristi08
0
141
Member Avatar for muralibobby2015

You can use [url=http://php.net/manual/en/function.sprintf.php]sprintf[/url]. [code] echo sprintf('%.2f', $c); [/code]

Member Avatar for muralibobby2015
0
87
Member Avatar for pieterk

[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.

Member Avatar for pieterk
0
136
Member Avatar for Graphix

Maybe a trick like this one: [url]http://www.sqlmaestro.com/resources/all/row_level_security_mysql/[/url]

Member Avatar for pritaeas
0
90
Member Avatar for flyenig

- 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.

Member Avatar for pritaeas
0
74
Member Avatar for backendcode

Something like this, if the image in table2 is optional. [code] SELECT * FROM table1 LEFT JOIN table2 ON table.userid = table2.userid [/code]

Member Avatar for pritaeas
0
93
Member Avatar for backendcode

For mySql it is [url=http://php.net/manual/en/function.mysql-insert-id.php]mysql_insert_id()[/url]

Member Avatar for pritaeas
0
88
Member Avatar for maunica

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.

Member Avatar for maunica
0
42
Member Avatar for bamwamba
Member Avatar for digital-ether
0
211
Member Avatar for elum.chaitu

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.

Member Avatar for Eola
0
143
Member Avatar for مصعب علي
Member Avatar for phploveisgood

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.

Member Avatar for pritaeas
0
148
Member Avatar for elum.chaitu

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.

Member Avatar for racoon8995
0
162
Member Avatar for hakeem777

I think you can use CURDATE() to do that. The time will be set to zero IIRC.

Member Avatar for pritaeas
0
38
Member Avatar for VenusCrystal

IE shows javascript error "Invalid argument". Probably one of your classes can not be found, yet you try to perform an action on them.

Member Avatar for pritaeas
0
106
Member Avatar for umandajayo

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]

Member Avatar for umandajayo
0
60
Member Avatar for sanv

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.

Member Avatar for pritaeas
0
102
Member Avatar for ruwanaru

Instead of the text, output mysql_error(). Then you'll know some more.

Member Avatar for pritaeas
0
101
Member Avatar for vibhaJ

[code] RewriteRule ^(.*)/test.php\?(.*)$ test.php?language=$1&$2 [NC] RewriteRule ^(.*)/test.php$ test.php?language=$1 [NC] [/code]

Member Avatar for vibhaJ
0
315
Member Avatar for kethyjewel

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].

Member Avatar for AirForceOne
0
222
Member Avatar for Flexor123
Member Avatar for pritaeas
0
89
Member Avatar for technical_amit
Member Avatar for punnoosepj

You should do that in your back-end coding, instead of trying to put it in your query.

Member Avatar for pritaeas
0
60
Member Avatar for punnoosepj

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 …

Member Avatar for pritaeas
0
71
Member Avatar for Acute

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.

Member Avatar for pritaeas
0
58
Member Avatar for andrewliu

If your search terms are in the same table, you can just add a WHERE clause to the query, before the HAVING.

Member Avatar for pritaeas
0
136
Member Avatar for Lolalola
Member Avatar for MDanz

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.

Member Avatar for pritaeas
0
66
Member Avatar for faizabest

If you are moving from MySQL to SQLServer than the "Microsoft SQL Server Migration Assistent" is a nice tool.

Member Avatar for Brian Swan
0
91
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
1
115
Member Avatar for JimiH

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.

Member Avatar for bunny12
0
87
Member Avatar for srdva59

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.

Member Avatar for smilingrose
0
92
Member Avatar for teedoff

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".

Member Avatar for teedoff
0
117
Member Avatar for RickyG
Member Avatar for pritaeas
0
155

The End.