8,966 Posted Topics
Re: Yes, the Web Platform Installer installs the correct version. | |
Re: Sqrt() returns the value, it does not output it, so you need to put it inside a writeln(). | |
Re: You are right, this is something you have to do on the browser. | |
Re: Mysql comes with a command line tool called [icode]mysqldump[/icode]. You can use it to export your tables and/or data into an .sql file. | |
Re: Did you install all packages separately, or do you use WAMP or XAMPP ? | |
| |
Re: It all depends on how far you want to go. In a typical setup I would use tables for the hotels, for the room types, for availability and one for pricing (if it changes over time). | |
Re: Because it comes before the doctype. IE relies on html pages starting with a correct doctype (and not with an empty line followed by a comment). | |
Re: No, it is not as easy as changing the URL. If you want to know how to implement AlertPay, see the [url=http://dev.alertpay.com/]documentation[/url]. | |
Re: Set the image as the background-image for this div. | |
Re: I assume you use mysql to store your data. If that is correct have a look at the LIMIT clause of the SELECT statement. With it you can do this: [code] SELECT * FROM table ORDER BY last_post_by LIMIT 30,10 [/code] | |
Re: Most webhosts have packages where you can add multiple domains. If you are not too familiar with this I suggest using a host that has good support on any questions that may arise. Preferably in your own timezone. Apache hosting is normally less expensive than Windows hosting. | |
Re: [QUOTE=FeralReason;1332891]have just now been asked to provide a password protected page that allows different customers FTP access to download files.[/QUOTE] These two statements actually contradict each other. Do you want FTP access, or do you want a password protected webpage where they can download/upload files? I think the one requesting … | |
Re: See the [url=http://dev.mysql.com/doc/refman/5.1/en/string-functions.html#function_replace]replace[/url] function. Normally you do not do this in SQL but in your front-end (PHP/ASP/etc.). | |
Re: You can use as many as you need. Just be careful when using both AND and OR. Make sure you use parenthesis, so it does exactly what you want, otherwise you may get unexpected results. | |
Re: I use Navicat to do that. It is not free, but it does have a 30 day trial. | |
Re: The first link is outdated (2003). I think you can better search stackoverflow for "php vs asp.net", and you'll get a lot of info. | |
Re: We need at least some HTML to see what you are trying to loop through. I think $_POST['something'] will fix your problem, if your HTML is correct. | |
Re: [QUOTE=cwarn23;1331644]I do not believe that the "try" and "catch" statements are valid php.[/QUOTE] They are as of [url=http://php.net/manual/en/language.exceptions.php]PHP5[/url] | |
Re: You can use inline css to do your styling. Some clients do allow an external style sheet (if you provide a full URL). | |
Re: You can add a check like this: [code] WHERE child_tbl2.xid NOT IN (SELECT xid FROM child_tbl2 WHERE ...) [/code] Fill in the blanks. | |
Re: Already answered: [url]http://www.daniweb.com/forums/thread310054.html[/url] | |
Re: [url]http://lmgtfy.com/?q=Comparing+Relationships+in+Conceptual+modelling&l=1[/url] | |
Re: Your forum-post record, could have an id column, referencing another record in the same table. A link table is another option. | |
Re: You can create a spec-description table, which contains an id and a description/title of that spec. In a second table you can match a product with this spec-id and the value of it. The value could be in more columns to represent different datatypes (int, varchar, blob for images, etc.). | |
Re: What do you want to do with the sub-select ? Before it is missing an AND or OR and a column to compare it to. | |
Re: Your brackets and parenthesis do not line up correctly. | |
Re: [code] $pattern = '#<b>Description:</b><br/>(.+?)<br/>(<b>Title:</b><br/>(.+?)<br/>)?(<b>Comment:</b><br/>(.+?))?#'; [/code] I've made the title and comment optional as you can see. If you don't need the title and comment, you can just omit that whole part. | |
Re: [url]http://code.google.com/apis/maps/documentation/javascript/v2/events.html[/url] | |
Re: With jquery you can use .live() to attach a function to an event. The use of live allows you to define functions on elements, even if they are not available yet. My guess is you currently use bind(), which only attaches to elements currently in the DOM. | |
Re: Have a look at [url=http://php.net/manual/en/ref.array.php]the docs page[/url] for all array functions. I'm sure you can think of one you can use (Perhaps even more). | |
Re: \w matches a word character, which are letters, digits and underscores. I think you can replace it with [icode]([\w\-]+)[/icode] | |
Re: Nyight already gave you a good explanation, I just want to add my two cents. I use phpThumb to do this and it is actually a bit of both. Thumbnails are created if they do not yet exist, or recreated if the file has changed. It also supports caching, so … | |
Re: I use navicat too. If your connections are the same at work and home then they both connect to the same database. If you connect to localhost and the user/password are the same (at work and at home), then they will connect to the database where you are locally. This … | |
Re: Check the error logs (PHP, Apache). If that doesn't help, use Fiddler or FireBug for example to check whether you perhaps have created an infinite loop. | |
Re: You used double quotes, instead of single. [code] if($search == '') { $smarty->assign('Error','Please enter any string!'); $z=1; } elseif($type == 'like') { $sql = "SELECT * FROM topic WHERE Title LIKE '$search%' AND Title1 LIKE '$search1%'"; } elseif($type == 'exact') { $sql = "SELECT * FROM topic WHERE MATCH (Title) … | |
Re: You can buy EPROM's which you can program yourself, most likely in assembly. | |
Re: According to your image, you link to the local file. Apparantly, your local webserver does not recognize the asp extension. So instead of executing the code it thinks it is html. Check your webserver configuration. | |
Re: I suggest pen and paper first. After that, a modeling package that integrates with the database server of your choice. Perhaps something like MicroOlap. | |
Re: Mostly the [url=http://stackexchange.com/]StackExchange[/url] collection (StackOverflow et al). | |
Re: If this code is for downloading a file, it would be easier to put the tracking on the link that triggers this download. | |
Re: Create a CSS for the media type print. That CSS will be used for printing, so you can hide all elements you don't want appearing on the page: [url]http://www.w3schools.com/css/css_mediatypes.asp[/url] | |
Re: You'd have a table orders, which has order specific columns like #, date, etc. The orders are linked to items in yet another (link-)table, containing an order-id and item-id's. | |
Re: action is the node that is checked/counted |
The End.