8,966 Posted Topics

Member Avatar for adishardis
Member Avatar for adishardis
0
137
Member Avatar for winbala5

You should pass the inputs as parameters to your `tracker.php` script. You can see how in the jQuery documentation for `ajax`.

Member Avatar for pritaeas
0
242
Member Avatar for asif49

The regex you show checks for spaces after the word match. Is it an option to first remove all spaces from your string? Perhaps if you show some background or samples, that we can help you better.

Member Avatar for JJenZz
0
572
Member Avatar for hostguy

This is probably because you echo out the response from another server, yet you do not have the required images/css on your server.

Member Avatar for pritaeas
0
186
Member Avatar for George_91

> For use of header - whitespace, static html or php-derived output or in simple terms (not a complete description), anything that could remotely be seen in the browser 'view source' should NOT be placed before it. I just want to add one less obvious item to this list, a …

Member Avatar for Webville312
1
23K
Member Avatar for dinhunzvi

[This code snippet](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-) shows you how to build one using AJAX.

Member Avatar for pritaeas
0
2K
Member Avatar for abzy1991

Not very familiar with Oracle, so not sure if the first name constraint is causing this, but a Google search appears to confirm this. Make `AthleteID` the PK, and make the first name a unique index instead.

Member Avatar for pritaeas
0
276
Member Avatar for bamastangguy_1

> It isn't the easiest thing in the world to setup a REST api [Restler](https://github.com/Luracast/Restler) can help with that.

Member Avatar for naphets
0
131
Member Avatar for pritaeas

The docs page for the DW API is off in IE10 (Win8), in Opera it works fine. Screenshot attached. ![ie10layout](/attachments/large/0/ie10layout.jpg "ie10layout")

Member Avatar for pritaeas
0
174
Member Avatar for TJVR

[QUOTE=TJVR;1310397]I want te php to automatically save the file and overrides the previous downloaded file.[/QUOTE] This is not possible, because the download/overwrite is handled by the browser.

Member Avatar for fox1234
0
159
Member Avatar for korathualex

The only way I can think of right now is to: 1. Use LEFT 2. REVERSE the result of 1 3. Use CHARINDEX on the result of 2 to search for a space 4. If 3 returns NULL, 0 or 1 use TRIM else continue with 5 5. Use SUBSTRING …

Member Avatar for adam_k
0
2K
Member Avatar for afidah
Member Avatar for spluskhan

> SELECT * FROM Products This always selects all products. You should add a `WHERE` clause, something like: $search = 'iphone'; $data = mysql_query("SELECT * FROM Products WHERE name LIKE '%$search%'")

Member Avatar for spluskhan
0
346
Member Avatar for davy_yg

Between line 24 and 25, put `echo $sql;` and see what is generated. One of your functions can introduce unexpected results.

Member Avatar for davy_yg
0
192
Member Avatar for DyO1

It's in the project properties, target framework, read more [here](http://msdn.microsoft.com/en-us/library/bb772098(v=VS.90).aspx).

Member Avatar for HctiMitcH
0
280
Member Avatar for robnederland

[Here](http://www.mikesdotnetting.com/Article/45/Programmatically-accessing-data-from-DataSource-controls)'s another way to bind you data.

Member Avatar for robnederland
0
115
Member Avatar for sundog1

You'll need to connect to the selected instance and run the `sp_databases` stored procedure (assuming you have the priviliges to do so).

Member Avatar for TnTinMN
0
226
Member Avatar for pritaeas

Wasn't sure yet whether to post this publicly. I've adjusted the PHP code snippet for the OAuth. Curl allows you to trap a redirect and this snippet just shows how to do that for the token. The regex searches for the redirect url in the returned header, it can be …

Member Avatar for pritaeas
2
558
Member Avatar for Reliable

> When you used the include function in PHP you have to used php file not html Incorrect. Quoted from [the documentation](http://www.php.net/manual/en/function.include.php): *"When a file is included, parsing drops out of PHP mode and into HTML mode at the beginning of the target file, and resumes again at the end. …

Member Avatar for Reliable
0
235
Member Avatar for winbala5
Member Avatar for winbala5
0
441
Member Avatar for tarun305
Member Avatar for pritaeas
0
162
Member Avatar for skliz

Do you mean something like [this](http://kovyrin.net/2006/05/30/nginx-php-fastcgi-howto/)?

Member Avatar for skliz
0
180
Member Avatar for dualzNZ

If some columns are used often, and other columns only for cheater analysis, dividing and joining them when needed is the logical choice. You can always create a view to simplify your client-side query.

Member Avatar for pritaeas
0
212
Member Avatar for lilwizz770

Sub-domain creation is something which your webhost **CAN** have an API for, ask them for more information first. Installing a web application is usually copying files, and replacing some configuration settings, all of which can be done in PHP.

Member Avatar for pritaeas
0
99
Member Avatar for garyjohnson

[Here is a thread](http://www.daniweb.com/web-development/web-design-html-and-css/threads/444955/common-color-patterns) containing several tools to help you decide.

Member Avatar for pritaeas
0
122
Member Avatar for tom_benton
Member Avatar for ImZick

The comma after `LOB` is messing it up I think. Are you sure you want to update without a where clause btw (affecting all records)?

Member Avatar for Reverend Jim
0
120
Member Avatar for samsnov
Member Avatar for nalage priyanka
Member Avatar for JorgeM

You can create an asset, book, magazine and widget table, where the last three have a foreign key to the asset. A join/union can always retrieve the information you need. Another way is to introduce a link table, connecting the asset with the other three. Technically, it would be possible …

Member Avatar for JorgeM
1
248
Member Avatar for togoenvogue

There are a lot of cUrl samples already in this forum. [Here](http://www.daniweb.com/web-development/php/threads/446170/downloading-a-webpage-text-with-curl)'s one.

Member Avatar for togoenvogue
0
189
Member Avatar for ripplex
Member Avatar for ripplex
0
172
Member Avatar for techyworld
Member Avatar for pritaeas
0
356
Member Avatar for thrillride01

Since you are starting PHP, [start right](http://www.phptherightway.com/).

Member Avatar for pritaeas
0
271
Member Avatar for BenBarter14

It is quite possible that workbench locks the database while exporting. You can check the MySQL documentation for more details.

Member Avatar for pritaeas
0
75
Member Avatar for ANSAYLOR

Have a look at using COUNT in HAVING. Since btitle is a varchar column, you cannot compare it to an integer (it does not know you want to count).

Member Avatar for pritaeas
0
148
Member Avatar for aneeqtariq_143

Book, chapter, part, devision, section and subsection should each have their own table. Records in it should point to their parent (foreign key). You should always have a part and devision, but you can hide it from showing if there is only one child in it.

Member Avatar for pritaeas
0
236
Member Avatar for cyberdaemon
Member Avatar for suavedesign
Member Avatar for astian

We have had similar issues even with XE2 and have finally abandoned it. Somehow what's generated is not usable enough, or a lot of definitions are missing. We've been unable to find any reasonable solution around this problem. Even changing the output by hand was not enough to get things …

Member Avatar for pritaeas
0
665
Member Avatar for tux4life

There's a thread about this somewhere. Sub-forums are not taken into account, hence the difference. Second, there may be a lag as they are cached.

Member Avatar for tux4life
0
241
Member Avatar for cynusalisa

- BeOS - AmigaDOS http://en.wikipedia.org/wiki/List_of_operating_systems

Member Avatar for ankur.pandey.52687
-1
178
Member Avatar for dinhunzvi

Install a mail server (Mercury for example). Windows does not have a built-in one. Another option is to use a tool like PHPMailer and connect to your GMail account (assuming you have one).

Member Avatar for dinhunzvi
0
311
Member Avatar for pritaeas

Attached image shows funny layout in top stats on IE10 and Opera on Win8 (both metro and desktop). ![topstats](/attachments/large/0/topstats.jpg "topstats")

Member Avatar for <M/>
0
101
Member Avatar for nalage priyanka
Member Avatar for tony75
Member Avatar for tony75
0
295
Member Avatar for abzksm
Member Avatar for chdboy

In short, what you should do is either use `SUM(Present)` or use `WHERE Present = 1`. `COUNT` just counts the number of rows in the result set.

Member Avatar for chdboy
0
176
Member Avatar for kumar89hitesh

All you need is in the source of that page, just take what you need.

Member Avatar for JorgeM
0
161
Member Avatar for pritaeas

I came across this plugin called [baraja](http://tympanus.net/codrops/2012/11/13/baraja-a-plugin-for-spreading-items-in-a-card-like-fashion/) by accident. Looked interesting enough to share.

Member Avatar for Dani
1
93

The End.