8,966 Posted Topics

Member Avatar for srdva59
Member Avatar for apanimesh061
Member Avatar for pritaeas
0
39
Member Avatar for geekme

[url]http://www.php.net/manual/en/function.imagick-compareimages.php[/url]

Member Avatar for pritaeas
0
85
Member Avatar for abhi10kumar

It is possible, if URL fopen wrappers are enabled. But you must specify a full URL. See [URL="http://php.net/manual/en/function.include.php"]the manual[/URL] for details.

Member Avatar for almostbob
0
210
Member Avatar for praveen_dusari

I think it is more a javascript thing. You could test in the onresize event I think.

Member Avatar for pritaeas
0
118
Member Avatar for jacob21

Give it a specific classname, and use the print css to disable everything but your td.

Member Avatar for divyakrishnan
0
106
Member Avatar for muralibobby2015

What works, and what doesn't ? Any javascript errors ? Is something showing, or nothing at all ? Do you have it online for use to see ?

Member Avatar for diafol
0
226
Member Avatar for Misheki

Here is [URL="http://msdn.microsoft.com/en-us/library/ff394110.aspx"]an example[/URL] of how it should look. The connect is different, and as far as I see the query parameters are reversed.

Member Avatar for Misheki
0
475
Member Avatar for Espenij

It is a notice. Your code will not break on it. The reason you are getting this is because the 'id' may not have been set in the GET array. You can resolve it like this: [code] $my_id = isset($_GET['id']) ? $_GET['id'] : ''; [/code] It checks if the value …

Member Avatar for Espenij
0
8K
Member Avatar for divyakrishnan

Which 6 types are you refering to ? The ones in the left navigation ? If you are on Windows then I suggest the MySql Installer. Should contain everything you need.

Member Avatar for pritaeas
0
146
Member Avatar for danishbacker
Member Avatar for pritaeas
0
137
Member Avatar for abhi10kumar

Also tabcontent.js has an error on line 3 it says. This script contains html code, remove it. The other error is caused probably by a call to addEvent, so check your code for any invalid calls.

Member Avatar for twiss
0
128
Member Avatar for asif49

Are you running from your personal machine or a webserver ? If you are running from your local machine, then it is hard to get it to work, because you either need an smtp server on your machine, or you need to connect to a mail provider which doesn't need …

Member Avatar for asif49
0
280
Member Avatar for diafol

I'd settle for the SO accept rate style. Show the percentage of started threads versus marked solved (exluding community threads).

Member Avatar for VernonDozier
0
156
Member Avatar for Ssnowlin

Basically do this (crude, but effective). Am sure you can do the rest. [CODE=c#] public void print(bool tableData) { SqlConnection conn = new SqlConnection("server=SHELI-PC\\SQLEXPRESS;database=Tables;integrated security=SSPI"); SqlCommand command = conn.CreateCommand(); command.CommandText = "SELECT * FROM " + tableName; conn.Open(); if (tableData) { // Table Data } else { // Column Headers …

Member Avatar for Ssnowlin
0
172
Member Avatar for cjohnweb

Explained in [URL="http://php.net/manual/en/language.operators.comparison.php"]the manual[/URL]. [QUOTE=cjohnweb;1592615]Ok, so I added quotes around the $kkk in the if statements and it actually worked! Anyone know why it's like this? I mean, this is basically what is happening, though I'd need to test it... [code=php] $kkk = 0; if($kkk == "name"){} // returns true …

Member Avatar for pritaeas
0
244
Member Avatar for fantasma

I think you can add a div with the description to your li's, and then use css to position this div below the image, and the transparent div in between.

Member Avatar for GouseKSyed
0
356
Member Avatar for tatarao25
Member Avatar for tatarao25
0
93
Member Avatar for jrotunda85

Can't you just use: [code] include '/include/navigation.php'; [/code]

Member Avatar for jrotunda85
0
131
Member Avatar for dawsonz

If you use an xslt to transform it, then you can use xsl:sort. [URL="http://www.xml.com/pub/a/2002/07/03/transform.html"]This link[/URL] shows how.

Member Avatar for pritaeas
0
161
Member Avatar for mrjimoy_05

[url]http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Integration[/url]

Member Avatar for mrjimoy_05
0
195
Member Avatar for wilko1995

Something like [URL="http://code.google.com/apis/maps/articles/phpsqlsearch.html"]this[/URL] perhaps?

Member Avatar for wilko1995
0
105
Member Avatar for perlnoob
Member Avatar for pritaeas
0
41
Member Avatar for peterpa
Member Avatar for MDanz
Member Avatar for almostbob
0
204
Member Avatar for didi00
Member Avatar for Mujahid158

For one, I wonder why you build your own JSON result. PHP comes with a nice [URL="http://php.net/json_encode"]json_encode[/URL] function.

Member Avatar for pritaeas
0
221
Member Avatar for stan_l

Are you absolutely sure that the fields are named login and password ? Also, most examples I've seen use an array for the post fields, not a query string.

Member Avatar for pritaeas
0
159
Member Avatar for gonidelux
Member Avatar for pritaeas
0
104
Member Avatar for gonidelux
Member Avatar for dhruv_arora

[icode]DEFINE[/icode] needs to be [icode]define[/icode] While testing, run your queries like this: [code] $result = mysql_query($query, $dbc) or die(mysql_error()); [/code]

Member Avatar for dhruv_arora
0
189
Member Avatar for pepunto

Are there any queries prior to this ? If so, See the first comment from the manual: [url]http://php.net/manual/en/function.mssql-execute.php[/url]

Member Avatar for pepunto
0
224
Member Avatar for uniguyUK

I would make a base page, containing the basic html setup (html, head, body, links to css, etc.). The body of this page can be another template, based on the kind of content you want to show. Assuming you want more than one type of page. In your back-end, you'd …

Member Avatar for uniguyUK
0
322
Member Avatar for neosonic
Member Avatar for sha1023012

The problem is [iCODE]Switch[/iCODE]. All PHP functions use lower case, and are case sensitive so use [iCODE]switch[/iCODE] instead. Also the [iCODE]echo[/iCODE] on line 31 is invalid, because it is after a [iCODE]break[/iCODE]. The table tag on line 3 is closed incorrectly with } instead of >

Member Avatar for sha1023012
0
150
Member Avatar for IROC_69
Member Avatar for twiss
-1
108
Member Avatar for jacob21

[CODE] <?php $year = 2011; ?> <select name="year_nam" id="year_nam"> <?php for ($yr_nam = 1950; $yr_nam <= 2020; $yr_nam++) { $selected = ($yr_nam == $year) ? "selected='selected'" : ""; echo "<option value='$yr_nam' $selected>$yr_nam</option>"; } ?> </select> [/CODE]

Member Avatar for karthik_ppts
0
2K
Member Avatar for jingda

Am missing the McLaren F1 here. Even the Veyron couldn't beat it.

Member Avatar for Lardmeister
0
372
Member Avatar for klemme

What datatype is your password column in the db ? It could be too small to hold the encrypted password. Perhaps the data is truncated when you insert it.

Member Avatar for migcosta
0
634
Member Avatar for Dragonbaki

here is another one: [URL="http://www.plupload.com/"]plUpload[/URL] (from the makers of TinyMCE)

Member Avatar for diafol
0
149
Member Avatar for klemme
Member Avatar for Dannis86

[url]http://designerfied.com/10-multimedia-cms-youtube-clones.html[/url]

Member Avatar for Dannis86
0
191
Member Avatar for web3

It would be easier to use one class for all those div's. The problem is that i is not defined in the click function, so it loses it's meaning. Not quite sure how to explain it.

Member Avatar for web3
0
101
Member Avatar for danillp

Start with an empty string. Each time you Inc() add your number to that string with a plus sign. At the end add the equal sign and the result.

Member Avatar for pritaeas
0
117
Member Avatar for sandeepparekh9

[url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/365508[/url]

Member Avatar for pritaeas
0
88
Member Avatar for mdpepper

The installation of PHP comes with a file called PHP.INI in which you can activate the MSSQL extension by adding [icode]extension=php_mssql.dll[/icode] (or php_mssql.so if you're on *nix) to it. You can connect to your MSSQL server by host name or IP address. The only thing that you need to worry …

Member Avatar for pritaeas
0
201
Member Avatar for MadMaddie

See [URL="http://www.daniweb.com/web-development/php/threads/191031"]the sticky thread[/URL] on the top on this forum, on how to detect mysql errors (the warning is different, yet the problem is the same). The warnings you see are triggered, because some of your queries return errors, or no results. Add error checking to avoid this problem.

Member Avatar for twiss
-2
241
Member Avatar for s.w.a

It is code to output a http response, that will use a temporary redirect to another page.

Member Avatar for s.w.a
0
126
Member Avatar for DelphiGuy
Member Avatar for pritaeas
0
64
Member Avatar for pritaeas

Am wondering if anyone here has already used the [URL="http://www.google.com/+1/button/"]Google Plus One button[/URL] on their website, and whether it is having a positive effect on search results (only for google.com at this time).

Member Avatar for Dani
0
282

The End.