8,966 Posted Topics

Member Avatar for mulevad
Member Avatar for mulevad
0
139
Member Avatar for mdusiek

Sqrt() returns the value, it does not output it, so you need to put it inside a writeln().

Member Avatar for pritaeas
0
134
Member Avatar for maxelcat
Member Avatar for pritaeas
0
66
Member Avatar for malloc84
Member Avatar for nitin_gyan

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.

Member Avatar for nitin_gyan
0
168
Member Avatar for neil59812

Did you install all packages separately, or do you use WAMP or XAMPP ?

Member Avatar for neil59812
0
209
Member Avatar for divyakrishnan
Member Avatar for didier1984

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).

Member Avatar for didier1984
0
96
Member Avatar for niche1

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).

Member Avatar for niche1
0
272
Member Avatar for Viruthagiri

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].

Member Avatar for hielo
0
94
Member Avatar for Scottmandoo
Member Avatar for hermanSA

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]

Member Avatar for hermanSA
0
184
Member Avatar for mcodesmart

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.

Member Avatar for Varnius
0
131
Member Avatar for FeralReason

[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 …

Member Avatar for pritaeas
0
204
Member Avatar for hirenpatel53

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.).

Member Avatar for pritaeas
0
365
Member Avatar for jeevObe
Member Avatar for andydeans

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.

Member Avatar for andydeans
0
69
Member Avatar for srdva59

I use Navicat to do that. It is not free, but it does have a 30 day trial.

Member Avatar for taosh
0
98
Member Avatar for .Mido

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.

Member Avatar for pritaeas
0
50
Member Avatar for ayooshkasmth

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.

Member Avatar for ayooshkasmth
0
2K
Member Avatar for jamesbarnhill
Member Avatar for Pado

[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]

Member Avatar for Stefano Mtangoo
0
180
Member Avatar for RyanDev

You can use inline css to do your styling. Some clients do allow an external style sheet (if you provide a full URL).

Member Avatar for pritaeas
0
57
Member Avatar for n_kip

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.

Member Avatar for pritaeas
0
159
Member Avatar for dev.vini

Already answered: [url]http://www.daniweb.com/forums/thread310054.html[/url]

Member Avatar for peter_budo
0
128
Member Avatar for UaBoy
Member Avatar for vinod.narapuram
Member Avatar for pritaeas
0
75
Member Avatar for Acute

Your forum-post record, could have an id column, referencing another record in the same table. A link table is another option.

Member Avatar for pritaeas
0
58
Member Avatar for cpu278

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.).

Member Avatar for pritaeas
0
67
Member Avatar for judithSampathwa

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.

Member Avatar for pritaeas
0
98
Member Avatar for ektron
Member Avatar for CBResources
Re: API?

If they have an API then they should also have some documentation on the functions you need to use. Check their website.

Member Avatar for pritaeas
0
74
Member Avatar for brunope

[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.

Member Avatar for pritaeas
0
113
Member Avatar for deval198

[url]http://code.google.com/apis/maps/documentation/javascript/v2/events.html[/url]

Member Avatar for pritaeas
0
43
Member Avatar for awk

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.

Member Avatar for bonfire89
0
108
Member Avatar for Dante2

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).

Member Avatar for Dante2
0
150
Member Avatar for Cool&Awesome

\w matches a word character, which are letters, digits and underscores. I think you can replace it with [icode]([\w\-]+)[/icode]

Member Avatar for Cool&Awesome
0
116
Member Avatar for bjeffries

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 …

Member Avatar for pritaeas
0
163
Member Avatar for teedoff

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 …

Member Avatar for Ericklewis
0
108
Member Avatar for csweb

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.

Member Avatar for pritaeas
0
130
Member Avatar for ﻼim
Member Avatar for ﻼim
0
237
Member Avatar for patrioticcow

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) …

Member Avatar for patrioticcow
0
736
Member Avatar for the.future.zone

You can buy EPROM's which you can program yourself, most likely in assembly.

Member Avatar for Nick Evan
-1
578
Member Avatar for swornavidhya_m

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.

Member Avatar for pritaeas
0
101
Member Avatar for Akiiki Richard

I suggest pen and paper first. After that, a modeling package that integrates with the database server of your choice. Perhaps something like MicroOlap.

Member Avatar for nakranirakesh
0
73
Member Avatar for GrimJack

Mostly the [url=http://stackexchange.com/]StackExchange[/url] collection (StackOverflow et al).

Member Avatar for ithelp
0
112
Member Avatar for tyroneb

If this code is for downloading a file, it would be easier to put the tracking on the link that triggers this download.

Member Avatar for EverWebby
0
232
Member Avatar for Kadafiz

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]

Member Avatar for Kadafiz
0
175
Member Avatar for SKANK!!!!!

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.

Member Avatar for SKANK!!!!!
0
794
Member Avatar for veejai24

The End.