8,966 Posted Topics

Member Avatar for Quagmire232
Member Avatar for pritaeas
0
132
Member Avatar for RoseMary3
Member Avatar for RoseMary3
0
90
Member Avatar for Quagmire232

The only difference between two UserGuess procedures is the index that is used for the QuizInfo array. You can use a single procedure for this, if you pass this index as a parameter to it. It's definition could be: [code] procedure UserGuessQ(QuestionNumber: Integer); [/code] I'm sure this will get you …

Member Avatar for Quagmire232
0
196
Member Avatar for terabyte

You'd need to let the menu pass a parameter to your php file, so it would know what file to include. Something like index.php?id=1 or index.php?file=filename.txt

Member Avatar for pritaeas
0
296
Member Avatar for ben.matthews18
Member Avatar for drjohn
0
105
Member Avatar for joaozeca

[url]http://www.hotelconcepts.com/en/home.html[/url] [url]http://www.myhotelsoftware.com/en/home.html[/url]

Member Avatar for jayreis
0
43
Member Avatar for muralibobby2015

First hit in Google: [url]http://www.kayak.com/labs/api/search/[/url]

Member Avatar for muralibobby2015
0
237
Member Avatar for gikonyo

The server would need to poll the mail server, probably using pop or imap. The web application also needs to poll the server, to be able to inform the user if a new message was received.

Member Avatar for gikonyo
0
66
Member Avatar for djcrab

Not sure what it is supposed to do, but line 9 should be: [code] <!-- HIDE FROM INCOMPATIBLE BROWSERS [/code] And on line 60: [code] name="newtask" [/code]

Member Avatar for Taywin
0
128
Member Avatar for wxflint

Apparantly the query is invalid on the line before. Try: [code] $login = mysql_query("select domain_name,domain_link from hosted_links") or die(mysql_error()); [/code] To see if you get an error message on the query.

Member Avatar for monica singh
0
162
Member Avatar for Living-seo-life

[url]http://stackoverflow.com/questions/252437/looking-for-an-seo-book[/url] Am sure you'll find more books in related threads.

Member Avatar for pritaeas
0
237
Member Avatar for PeterWaij

For one, both your buttons have id="button". An id should be unique, so perhaps you should use class="button". You should also hide the popupContact class, because the popup div's are showing already. Is there a reason you are using a map ? Unless there is something missing, the buttons will …

Member Avatar for PeterWaij
0
100
Member Avatar for dougalmaguire

[url=http://www.phpriot.com/articles/event-handling-in-prototype/2]This[/url] is a nice description of events in prototype.

Member Avatar for pritaeas
0
207
Member Avatar for HelenLF

If you want to convert any sentence to this format, you can use [icode]explode(' ', $sentence)[/icode] to create an array of words from your sentence, and then process each word accordingly. (Then use implode to make a sentence again.)

Member Avatar for quasipickle
0
88
Member Avatar for younk
Member Avatar for knrakesh

Are you trying to validate your webpage ? If so, what tool are you using, because it is not obvious from the screenshot (not to me anyway).

Member Avatar for diafol
0
73
Member Avatar for junjua

[url]http://book.cakephp.org/view/488/Themes[/url] [url]http://www.sanisoft.com/blog/2007/12/29/theming-your-cakephp-apps-v12/[/url] [url]http://www.pseudocoder.com/archives/theming-with-cakephp[/url]

Member Avatar for pritaeas
0
133
Member Avatar for avinash_545

$_GET requires brackets [], not parenthesis (). It is an array, not a function.

Member Avatar for avinash_545
0
177
Member Avatar for rlfate
Member Avatar for rlfate
0
618
Member Avatar for drewpark88
Member Avatar for benhowdle89

Yes, adjust your query to exclude them. [code] SELECT * FROM yourtable WHERE TRIM(yourcolumn) <> '' [/code]

Member Avatar for pritaeas
0
262
Member Avatar for stonest123

If you want such a workaround than a simple UNION with a single row would be sufficient (assuming MySql): [code] SELECT * FROM mytable UNION SELECT * FROM mytable LIMIT 1 [/code]

Member Avatar for stonest123
0
116
Member Avatar for ebay1989

Are you sure the problem is with your website? It could be your own connection that is failing. Do you have an url ? What technologies does it use ?

Member Avatar for ebay1989
0
168
Member Avatar for navi17

I think the way to do it is to put another div on top of it, containing a transparent image. You can use the a tag on that image. You may want to ask this question in the Web Design/HTML and CSS forum.

Member Avatar for pritaeas
0
64
Member Avatar for TechySafi

$tweet = $stdClassObject->status->text; // $stdClassObject should be the name of the variable you outputted above

Member Avatar for TechySafi
0
160
Member Avatar for Ritzlore

The string at line 59 contains a single quote ('), which should be escaped by a backslash (').

Member Avatar for hielo
0
449
Member Avatar for Borzoi

IIRC the [P] flag indicates it would show elephant.example.com and redirect silently.

Member Avatar for Borzoi
0
274
Member Avatar for showman13

You can use htaccess to capture [icode]xxx.example.com[/icode] and redirect it to [icode]www.example.com/index.php?sub=xxx[/icode] [code] RewriteCond %{HTTP_HOST} ^(.*).example.com RewriteCond %{HTTP_HOST} !^www.example.com [NC] RewriteRule ^(.*)$ http://www.example.com/index.php?sub=%1 [P] [/code]

Member Avatar for showman13
0
190
Member Avatar for ChaosKnight11

Not sure exactly how you want to solve this, but the use of custom classes or frames (TFrame, if you also need a different interface per unit) is an option.

Member Avatar for pritaeas
0
139
Member Avatar for Rexan

Not easy to find I think. 2.6 is from 1994 iirc. Is there no way you could use a later version, like VFP7 or 9. They have extensive help files.

Member Avatar for happygeek
0
172
Member Avatar for jamesyrawr

[code] SELECT * FROM products WHERE prod_id = [$id] [/code] The brackets cause the query to fail, change it to: [code] SELECT * FROM products WHERE prod_id = $id [/code]

Member Avatar for cwarn23
0
232
Member Avatar for Sahilsahni

Show what you have so far. For the mysql query to work, have a look at the FIND_IN_SET() function.

Member Avatar for jogesh_p
0
586
Member Avatar for ryan-t

I know you did not ask for a link, but isn't the example given here what you need ? (in combination with the settimestamp function of the datetime class) [url]http://php.net/manual/en/datetime.settimezone.php[/url]

Member Avatar for ryan-t
0
132
Member Avatar for equatorlounge

If your webhost allows you to create subdomains through an API, then you can make a php function to execute it.

Member Avatar for equatorlounge
0
326
Member Avatar for amazed
Member Avatar for kasim.badami
Member Avatar for Triztian

For more information on "views" read [url=http://dev.mysql.com/doc/refman/5.0/en/create-view.html]this[/url].

Member Avatar for aquilax
0
145
Member Avatar for znz

Do you want a delete link next to your displayed rows, to delete that entry from the database when clicked ?

Member Avatar for pritaeas
0
122
Member Avatar for sajohnson05

Read [url=http://www.daniweb.com/forums/thread320013.html]this thread[/url]

Member Avatar for pritaeas
0
89
Member Avatar for spideyprasad

[code] $l="SELECT * FROM $tbl_name WHERE `name` = '" . mysql_real_escape_string($_POST['or']) . "'"; [/code] If this fails, echo the entire generated query, and paste it here, along with the error message.

Member Avatar for pritaeas
0
88
Member Avatar for wangome

Same answer as in [url=http://www.daniweb.com/forums/thread320013.html]this thread[/url]

Member Avatar for pritaeas
0
231
Member Avatar for gidireich

The browser's debugger tools can provide some insight as to the requests sent to the server. Or you can try fiddler to see what happens.

Member Avatar for pritaeas
0
58
Member Avatar for bsewell

You get this notice if the form is not posted and the 'upload' input is not found. You can avoid it like this: [code] if (isset($_POST['upload'])) $file=$_POST['upload']; [/code]

Member Avatar for pritaeas
0
351
Member Avatar for OmniX

Sounds more like a DNS hack than a PHP hack. But anyhow, he's right, you have to make sure you're code is secure.

Member Avatar for marv36
0
215
Member Avatar for JustmeVSI

[code] foreach ($row as $name => $value) { } [/code] But if you do I recommend using mysql_fetch_assoc instead.

Member Avatar for JustmeVSI
0
74
Member Avatar for nurul_208

On line 43 of displayform you do [icode]$id = $_GET['id'];[/icode] yet the DocID (the name of the input field in the first form) gets POST'ed by the form. So it should read: [icode]$id = $_POST['DocID'];[/icode]

Member Avatar for nurul_208
0
763
Member Avatar for teedoff

In most everyday developing situations the database server name is 'localhost'. If you then make sure your local and remote DB both use the same username, password and database name, then there is no need to change your connection file.

Member Avatar for teedoff
0
340
Member Avatar for SolidSolutions

I think putting an index on the viewed column, and then using the second query (with the where) should be fastest. I don't have any hard data, but as smantscheff said, to be sure, run some tests. You can create a copy of your table, and then run the query …

Member Avatar for smantscheff
0
153
Member Avatar for Some-Jackass

I think you need to change line 2 in the above query to: [code] WHERE FIND_IN_SET('Apple', GROUP_CONCAT(ItemName)) [/code] You can also use the where clause in the following manner (in your query): [code] WHERE ContainerID IN (SELECT ContainerID FROM items WHERE ItemName = 'Apple') [/code]

Member Avatar for Some-Jackass
0
161
Member Avatar for DonaldAlexander

You can create a table with your default english texts, and a second table with the translated version and the target language linked to the first table. Of course you can also put this in one table.

Member Avatar for pritaeas
0
513

The End.