8,966 Posted Topics
| |
Re: If you want to run it locally, consider WAMP or XAMPP. They install everything you need. | |
Re: [url]http://www.php.net/manual/en/function.imagick-compareimages.php[/url] | |
Re: 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. | |
Re: I think it is more a javascript thing. You could test in the onresize event I think. | |
Re: Give it a specific classname, and use the print css to disable everything but your td. | |
Re: 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 ? ![]() | |
Re: 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 … | |
Re: 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. | |
Re: It's a web server, everything you need to know is on their wiki. | |
Re: 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. | |
Re: 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 … | |
![]() | Re: I'd settle for the SO accept rate style. Show the percentage of started threads versus marked solved (exluding community threads). |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: Why do you use a temporary table, instead of a regular one ? | |
Re: Can't you just use: [code] include '/include/navigation.php'; [/code] | |
Re: 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. | |
Re: [url]http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Integration[/url] | |
Re: Something like [URL="http://code.google.com/apis/maps/articles/phpsqlsearch.html"]this[/URL] perhaps? | |
Re: You are probably referencing more children/nodes than the XML contains. | |
Re: Line 56 is wrong. | |
Re: Unexpected end usually means that somewhere a semi-colon or a closing curly bracket is missing. | |
Re: 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. | |
Re: 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. | |
Re: Because you do not have a mail server running on your machine. | |
Re: See line 23. | |
Re: [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] | |
Re: 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] | |
Re: 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 … | |
Re: You can do a group by on fieldA and fieldB. | |
Re: 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 > | |
Re: You will have to be a bit more specific. Explain what you want. | |
Re: [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] | |
| |
Re: 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. | |
Re: here is another one: [URL="http://www.plupload.com/"]plUpload[/URL] (from the makers of TinyMCE) ![]() | |
Re: Remove the plus sign. | |
Re: [url]http://designerfied.com/10-multimedia-cms-youtube-clones.html[/url] | |
Re: 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. | |
Re: 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. | |
Re: [url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/365508[/url] | |
Re: 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 … | |
Re: 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. | |
Re: It is code to output a http response, that will use a temporary redirect to another page. | |
Re: [url]http://delphi.about.com/od/windowsshellapi/a/keyboard_hook.htm[/url] | |
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). |
The End.