8,966 Posted Topics

Member Avatar for ruhestorer
Member Avatar for lewashby

Here's a code snippet for [SQLite2](http://www.daniweb.com/web-development/php/code/442433/using-phpsqlite2-with-error-checking) and [SQLite3](http://www.daniweb.com/web-development/php/code/442441/using-phpsqlite3-with-error-checking). Line 8 has no semi-colon, or `if` as cereal mentions. You need to fetch from the result.

Member Avatar for pritaeas
0
382
Member Avatar for seovela
Member Avatar for pritaeas

http://phalconphp.com/ Anybody here who has already tried this one? Am curious to any experiences.

Member Avatar for LastMitch
0
110
Member Avatar for devianleong

`htaccess` has no knowledge of browser resolutions, only user-agents. RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]

Member Avatar for pritaeas
0
146
Member Avatar for devianleong

$b = array (); foreach ($a as $key => $value) { if (isset($b[$key])) { $b[$key] += $value; } else { $b[$key] = $value; } } print_r($b);

Member Avatar for pritaeas
0
14K
Member Avatar for gurungb03

Search this forum, plenty of topics on projects. YOU need to select something YOU like.

Member Avatar for diafol
0
289
Member Avatar for pritaeas

The following snippet shows how you can use binding in your queries when using PDO. For starters, here's the table structure I've used: CREATE TABLE `mytable` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `dob` date DEFAULT NULL, `level` int(11) DEFAULT NULL, PRIMARY …

3
1K
Member Avatar for murali2489

If you do not specify the columns in an SQL insert query, you'll need to specify values for ALL columns in that table.

Member Avatar for murali2489
0
388
Member Avatar for websponge

Create a page that uses AJAX to poll for new information every N seconds/minutes. Without Javascript you can add a meta tag to refresh the whole page.

Member Avatar for websponge
0
254
Member Avatar for devianleong

> how can I determine merchant id and sum the weight base on product ID?? Hard to say without knowing the table structures you're using.

Member Avatar for pritaeas
0
170
Member Avatar for jessie.wauters.1
Member Avatar for guente

> syntax error in query expression "order Id Output `cmd.CommandText`, there is an error in your query.

Member Avatar for Reverend Jim
0
257
Member Avatar for infamous.jawad

As long as you stick to our [rules](http://www.daniweb.com/community/rules), there's not really a problem. Be sure to provide some content, and not just a list of links.

Member Avatar for happygeek
0
155
Member Avatar for milan.sabic
Member Avatar for Black_Lion

With runat server the id of the inputbox is changed, so your function doesn't find it. Try adding the attribute `ClientIDMode="Static"`

Member Avatar for JorgeM
0
782
Member Avatar for jotapx

What exactly messed up? Line 41 should be: $sql = "DELETE FROM `marcacao` WHERE `marcacao`.`id` = `$id`"; // note the dollar sign to indicate the variable $id Line 56: I think `$estado` should have single quotes: `'$estado'`

Member Avatar for EvolutionFallen
0
532
Member Avatar for Black_Lion
Member Avatar for BigPaw

> What is this cat in a box theory suggesting? That observing an experiment may have consequences for it's outcome.

Member Avatar for pritaeas
0
189
Member Avatar for PF2G
Member Avatar for PF2G
0
432
Member Avatar for shrikanthnk
Member Avatar for Monica_1

I think you need to hide one of the paragraphs when you click a button, and use a single print stylesheet.

Member Avatar for pritaeas
0
272
Member Avatar for suavedesign

You can study the CSS of one of my tests [here](http://www.pritaeas.net/hosted/oww-test/).

Member Avatar for pritaeas
0
136
Member Avatar for Dani

Network inspection screenshot attached. Taken while running my DwArticleWatch API client. Default response always was below 2 secs.

Member Avatar for happygeek
0
188
Member Avatar for jelly46

http://jquery.malsup.com/cycle/pager-over.html Note that's just a demo. If you choose dots, change the CSS. It also supports fading.

Member Avatar for pritaeas
0
188
Member Avatar for durgesh1

The basics of this are explained in this [code snippet](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-).

Member Avatar for pritaeas
0
71
Member Avatar for Rahul47

Am not sure what needs explaining. The result returned by a `mysqli_query` is a [result object](http://php.net/manual/en/class.mysqli-result.php).

Member Avatar for pritaeas
0
342
Member Avatar for Msanches

http://www.thumbshots.com You can see this when you view the image link on the profile page, so I guess it's the same in threads.

Member Avatar for pritaeas
0
107
Member Avatar for ktsangop

This probably (untested): UPDATE db.table SET col1 = IF(col3 IN ('a', 'b', 'c') AND col2 = 'something', 1, 0)

Member Avatar for ktsangop
0
239
Member Avatar for general2012
Member Avatar for andreiviziru

What happened? Do you get errors? Be more specific, we cannot just guess what's wrong without knowing/seeing what you have done.

Member Avatar for andreiviziru
0
1K
Member Avatar for SaRa Ahmad
Member Avatar for kamrul.istiak

Adding your company link in your signature is allowed. You can edit it in "Edit Profile".

Member Avatar for happygeek
0
218
Member Avatar for Rahul47

From the [mysqli_affected_rows manual](http://php.net/mysqli_affected_rows): *"Returns the number of rows affected by the last INSERT, UPDATE, REPLACE or DELETE query."* From the [mysqli_num_rows manual](http://php.net/mysqli_num_rows): *"Returns the number of rows in the result set."*

Member Avatar for Rahul47
0
2K
Member Avatar for Dani

`$foo` is an empty string or has invalid markup. See the second comment (by Shane Harter) [here](http://php.net/manual/en/domdocument.loadhtml.php).

Member Avatar for Dani
0
127
Member Avatar for leghorn

Your query needs to use single quotes around your values, not double. IIRC you can also specify the database with one of the command line options, so you don't have to use "USE".

Member Avatar for 1stDAN
0
423
Member Avatar for NettSite

The setTimeout function does not wait for a second, if that's what you're after. So the changes in the loop (without the alert) happen so quickly, that the DOM gets no time to refresh, and therefor updates after the loop is done.

Member Avatar for gon1387
0
4K
Member Avatar for 123bsn
Member Avatar for somjit{}

> Nothing is getting done , no pulls , no push , no syncs , no nothing! What have you tried? Getting errors?

Member Avatar for mike_2000_17
0
239
Member Avatar for montjoile

I found [this](http://www.dbforums.com/oracle/892234-writing-trigger-oracle-should-stop-current-transaction.html), basically it triggers an application error.

Member Avatar for montjoile
0
464
Member Avatar for ehpratah

It's a logic error. You are searching between two times for all days in the range. You want to search from a specific date and time up to another date and time.

Member Avatar for ehpratah
0
165
Member Avatar for wplay
Member Avatar for lewashby

> Call to undefined function sqlite_open() in /var/www/ET/process.php on line 9 SQLite is not enabled. Check your PHP.INI Thread closed. Continued [here](http://www.daniweb.com/web-development/php/threads/462188/simple-sqlite-row-query).

Member Avatar for pritaeas
0
277
Member Avatar for mmcdonald

> How does one go about adding more calculations and outputs to the same slider Just add more code to the `slide` event. If you have three, make sure they have unique id's.

Member Avatar for mmcdonald
0
378
Member Avatar for Kooka
Member Avatar for marini83

http://net.tutsplus.com/tutorials/javascript-ajax/adding-a-jquery-auto-complete-to-your-google-custom-search-engine/

Member Avatar for pritaeas
0
77
Member Avatar for MARKAND911
Member Avatar for klaus1

Wouldn't using a HTML template suffice? It can be edited and stored, and when needed printed to PDF. Is there something you have tried already? Are you trying to create some kind of report?

Member Avatar for klaus1
0
109
Member Avatar for <M/>

Sounds like you need a couple of tables to store that information, and some management to put the events and comments in. The question is broad because it really depends on how the calendar was written. For everyday shown, the calendar needs to query for events, and if there are …

Member Avatar for <M/>
0
209
Member Avatar for vividiah
Member Avatar for vividiah
0
2K

The End.