8,966 Posted Topics
Re: What have you tried? Look for GROUP BY and HAVING. | |
Re: Try this: if (preg_match('/\[quote=(.*?)\]/', $yourText, $matches)) { $username = $matches[1]; } ![]() | |
Re: [IIS and PHP](http://php.iis.net/) is possible. If you want data driven websites then you'll need to install SQL Server too. Another option can be WAMP or XAMPP which use Apache and MySQL. ![]() | |
Re: For some reason the variable in line 17 contains an array. Debug that value to see if it's set and read correctly. | |
Re: There are [plugins](http://www.opencart.com/index.php?route=extension/extension&filter_license=0&filter_search=friendly%20url's) available. | |
Re: Here's [one](http://www.codeproject.com/Articles/32274/How-To-Convert-PDF-to-Image-Using-Ghostscript-API). | |
Re: Technically, both the triangle and the rectangle can be specified by a point and two vectors ;) | |
Re: http://www.blueclaw-db.com/mealservicesoftware/ | |
Re: You are probably using a variable somewhere with a null value, or indexing on an empty string. Check out the last user comment [here](http://php.net/manual/en/function.is-string.php). | |
Re: How do you set the max file limit? Why are you not successful? Any errors? | |
Re: > how do I remove the drawChart() from inside the google script Are you sure this is necessary? Even though it gets drawn, wouldn't the second call to the draw just overwrite the graph correctly? | |
Re: Make your input's float left with CSS and they will automatically fill your container horizontally (if that's what you mean). | |
Re: Looks okay on first glance. Hard to tell without the requirements though. Next time please just attach the image, most people won't download a zip file. | |
Re: http://stackoverflow.com/questions/9702643/mysql-vs-mongodb-1000-reads The accepted answer explains it well. It all depends on what you're doing with it. If you're using it to store/retrieve a lot of (large) files, use Mongo. | |
Re: I don't mind the fact that you're using `6` instead of `length`, but since it's a magic number (that could be used elsewhere in your code), make it a constant with a clear name. | |
Re: http://php.net/manual/en/function.session-is-registered.php Removed as of version 5.4.0 ![]() | |
Re: At first glance it looks fine. Having doubts about something? | |
Re: Google turned up with this: http://coolbloke13245.wordpress.com/tag/bmi-js/ | |
Re: Acceptable values are described [here](http://dev.mysql.com/doc/refman/5.7/en/datetime.html). | |
| |
Re: What do you have so far, and what issues do you have with it? | |
Re: If you want to change the second select without a page refresh, then that's a Javascript issue. You'll need some AJAX code to retrieve the matching list, and a PHP script to provide that. See this [code snippet](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-) | |
Re: Does this default to the community center? If so, it will introduce a lot of threads that need to be moved. | |
Re: $form_state['values']['submitted'][$key] = 'new_value_' . $value; | |
Re: A function should return a result. That's why you get that warning. | |
Re: It's just a (different) standard. Read more here: http://www.webstandards.org/learn/articles/askw3c/oct2003/ | |
Re: Don't see any mention on their site (unless I'm on the wrong one), but why don't you ask a sales rep, or post in their forum? | |
Re: Not sure for point 1, but am happy with the class found [here](http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html). | |
Re: `$con` comes after the query, not before. See: http://php.net/mysql_query Also check your `mysql_connect` | |
Re: Care to share your solution? | |
Re: http://www.daniweb.com/web-development/php/threads/450707/where-to-start That thread may help. | |
Re: http://msdn.microsoft.com/en-us/library/ms190273.aspx ALTER TABLE [table] ALTER COLUMN [column] BINARY(16) | |
Re: What have you got so far? A `switch` is a `case of`, Delphi uses dot notation instead of the arrow, and `:=` for assignments. | |
![]() | Re: Have you tried using the onkeydown or onkeyup event? ![]() |
Re: It's a shame you use tabs. If you use comma's instead you'd be able to use `FIND_IN_SET()` (assuming you use MySQL). | |
Re: Apparently your server has safe_mode enabled, thus disabling the use of that particular function. If this is on a shared host, I doubt there's a way to enable it. Contact your host. | |
Re: > Is this a right approach ? Yes. But `userid` in the `users` table is not necessary. `posts.userid` should point to `users.id`. You can make it a foreign key if you like. > Also I am thinking about making procedural way of accessing data with mysqli. Is there anything wrong … | |
Re: This plugin perhaps? [Skew](http://jquery-plugins.net/tag/skew). | |
Re: It's just a folder called "Favourites" in your user folder. You can access and copy/zip it using Windows Explorer. | |
Re: There are code snippets in the PHP forum showing you how. Preferably the one using MySQLi or PDO. | |
Re: After enabling the extension you may have to restart Apache. If it still doesn't work, check your error logs. | |
Re: > How would you approach a solution to this problem? I'd try to find out what the reason is of opening your site in multiple tabs first. | |
Re: What do you want, you can incorporate Google CSE relatively easy. | |
![]() | Re: On line 38 you'll need something like this, assuming `user_type` is an integer column in your table: $row = mysql_fetch_assoc($result); switch ($row['user_type']) { case 1: header(); break; case 2: header(); break; // etcetera } |
Re: SELECT * FROM tblContacts WHERE ContactID IN (353,1520,2031) Order by ContactID Should be the right syntax. Do you get an error? No results? What database? | |
Re: Just obfuscating the code does NOT make it secure. | |
Re: Made me curious, so I signed up. Funny to see they take the questions only, no answers. Just saw a post appear there, right after it was added in the PHP forum here. Makes me wonder what happens if I post a new question here. Too bad they don't support … ![]() |
The End.