8,966 Posted Topics
Re: Why not use [MySQL's replication](http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html). | |
Re: Selecting the database is optional, not required. Anyway, check your error log, to see if perhaps the mysql extension is not installed, or perhaps some other configuration errors. The code the OP provided is correct. | |
Re: You need to rename the functions slideSwitch (you have three), or change them to one single function which accepts the div id as parameter. | |
Re: Why don't you just temporarily set the print.css as default stylesheet (until you're done)? | |
Re: You may want to contact AnyDAC directly for such an issue. Hard to see when the Assert gets triggered without more information. | |
Re: Just make an Azure website, buy cloud hosting, and upload your solution. | |
Re: > It sounds more like a site to gather and organize references (links) for given subjects and sub-subjects. Isn't that just a link farm, like DMOZ ? Been thinking about building such a site for a while now, but due to lack of time, it's stopped with the idea. Link … | |
Re: Why not just copy the site's source, and learn from it? | |
Re: I use it all the time for readability, but know they have different precedence. | |
Re: If it is an object, you need to use `->` to access the property, if it is an array use `[]` (either with index, or string). So in your case you need to mix them up. $numberIdOfItem = $your_object->val->me[0][0]->me['struct']['id']->me['string']; // I think I suggest you try it one step at … | |
Re: When your colleague responds with "What is a ZX Spectrum ?" | |
Re: Line 53 has unescaped double quotes. Use `\"` | |
Re: Did you use a different user, then the one which created those tables? If so, check your priviliges. | |
Re: Usually you can read it with `GetMenuState` or `GetMenuItemInfo` (and set with the SetXxx counterparts). But I'm not sure you can use this cross-process. | |
Re: Just echo more columns like this one: `$row['name']`. `name` is the name of the corresponding column. | |
Re: Spot on, only too many (unnecessary) brackets ;) `/^(?:[A-Z]{3}[0-9]{3}, )*AAA111$/` should do the same. | |
Re: Can you try to explain with an example? This is a little vague. | |
Re: > when I am generating a site map How do you generate the sitemap ? | |
Re: Have a look at the jQuery documentation for append. It allows you to inject HTML code into the page. | |
Re: You can use `set_time_limit(0);` at the top of your script. The problem in your code is that you have three nested loops... are they really necessary? Lines 21+22 actually do the same thing as line 28. So you are trying to fetch 27 * (24 columns and 27 rows). | |
Re: You are correct. For displaying I use fetchAll. If I need additional processing, I use the while. | |
Re: What type is column proj_date_final? | |
Re: Can you explain with a small code sample what you mean ? | |
Re: last_insert_id only returns a correct value directly after an insert. | |
Re: There was a thread about this a couple of days ago, but am unable to find it. I suggest you do a search within this forum. | |
Re: Check out [this tutorial](http://www.tizag.com/ajaxTutorial/ajaxxmlhttprequest.php). There are some errors in your code that need to be fixed. | |
![]() | Re: Dani has implemented multi-quoting. So each time you select a piece of text it gets buffered. When you click in the editor and click the quote button, all those get copied, and the buffer is cleared. |
Re: Why not just host your own shop? The yearly cost of a host is 30% of a single product sell. | |
Re: I have some of PacktPub, I can recommend them. One of them is about [building a CMS](http://www.packtpub.com/cms-design-using-php-and-jquery/book). If you are looking at the other titles, be sure to check the release date. | |
Re: Check how you do it in the designer. The property you set, is the one you need to set in code. I haven't used DevExpress in a while, so my memory is failing. If all else fails, the DevExpress forums are your best bet. | |
Re: Store it in a variable before the post, and use that. | |
Re: > I can never win That's one sure fact ;) Personally, I think it makes perfect sense at it's current position. | |
Re: > it's not really up to PHP 5 standards Care to elaborate? | |
Re: Reverse the order, replace the smileys first, then use the strip and special functions. | |
Re: Something like this [tutorial](http://www.phpro.org/tutorials/Model-View-Controller-MVC.html) perhaps? | |
Re: There are a lot of mp3 players out there you can use. You just have to search for one (with a playlist) that you like. What kind of tutorial are you looking for? | |
Re: Can you provide the full error message? | |
Re: You can use `setTimeout` to call a function that call a PHP script via `$.ajax` | |
Re: For single: $text = str_replace(':-)', '<img src="smiley.jpg" />', $text); For multiple: $txtSmileys = array (':-)', ':-('); $imgSmileys = array ('<img src="smiley.jpg" />', '<img src="smiley-sad.jpg" />'); $text = str_replace($txtSmileys, $imgSmileys, $text); | |
Re: `.*` is greedy, so it will take too much, most likely. You can try: RewriteRule ^(\d+)/(\d+)/(.*)$ products.php?sub=$1&id=$2&name=$3 [L] Assuming the first two will only contain digits. If that also does not work, try the simplest first, something like this: RewriteRule ^test$ products.php [L] It should rewrite `http://examples.com/test` to `http://example.com/product.php`. If … | |
Re: When you create a new (sub)folder, you'll have to give write permissions with `chmod`. | |
Re: Here's a start: http://www.databaseanswers.org/data_models/ | |
Re: Hard to say without an example. Can you share your URL ? |
The End.