Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: mazeroth
Forum: MySQL Sep 11th, 2009
Replies: 1
Views: 361
Posted By mazeroth
update tablename set trackdate = trackdate + 1
Forum: PHP Sep 10th, 2009
Replies: 7
Views: 372
Posted By mazeroth
Could it be that now() returns date time and your field is only date?
Forum: MySQL Sep 8th, 2009
Replies: 8
Views: 514
Posted By mazeroth
Not sure I'll be much help. Only thing I'll mention is careful with using IN since it can be expensive. I can't think of other ways based on your requirements than what you have already mentioned....
Forum: MySQL Sep 8th, 2009
Replies: 8
Views: 514
Posted By mazeroth
I apologize, I misunderstood what you were doing. Full-Text searching would work I believe. For example:

select *
from sentence
where match(`text`) against ('+today +good' IN BOOLEAN MODE);
...
Forum: MySQL Sep 8th, 2009
Replies: 8
Views: 514
Posted By mazeroth
select *
from sentence
where sentence_id in
(
select distinct sentence_id
from word
where `text` in ('today','is')
)

You could also use distinct instead of group by, I don't remember...
Forum: MySQL Sep 8th, 2009
Replies: 8
Views: 514
Posted By mazeroth
Here is one way:

select *
from sentence
where sentence_id in
(
select sentence_id
from word
where `text` in ('today','is')
group by sentence_id
Forum: MySQL Sep 8th, 2009
Replies: 8
Views: 514
Posted By mazeroth
So you want to search for one or many words to see all the different sentences they exist in?
Forum: PHP Sep 8th, 2009
Replies: 4
Views: 354
Posted By mazeroth
If you want to follow REST or RESTful urls such as the REST architecture states (which seems to be getting more popular) then GET and POST have two very different uses. GET should be used to 'get'...
Forum: PHP Sep 8th, 2009
Replies: 4
Views: 219
Posted By mazeroth
For simple data, flash can do GET and POST to PHP and then PHP can insert or select from the database. Depending on what version of Flash and Actionscript you are working with, you'll be using...
Forum: PHP Sep 5th, 2009
Replies: 3
Views: 278
Posted By mazeroth
What you are trying to do is use dynamic referencing. For example, try this:

var name = 'b21'; // this value come from php
this[name].gotoAndStop(3);

This code will use the value of...
Forum: MySQL Sep 4th, 2009
Replies: 9
Solved: mysql problem
Views: 611
Posted By mazeroth
Make sure you aren't trying to run MySQL on a port that is already in use.
Forum: PHP Sep 4th, 2009
Replies: 3
Views: 278
Posted By mazeroth
Can you post your AS code to see what you are trying to do that isn't working? You call php, get a variable which is a name, then you try to load that movieclip correct?
Forum: PHP Sep 4th, 2009
Replies: 2
Views: 297
Posted By mazeroth
To send complex data types (arrays, objects, recordsets) from Flash to PHP you'll need to use something like AMFPHP (Action Message Format). AMF will convert that complex data type into a portable...
Forum: PHP Sep 4th, 2009
Replies: 6
Views: 548
Posted By mazeroth
Here's a tutorial showing how to use mysql stored procedures with php. Hope it helps answer you question:

http://www.joeyrivera.com/2009/using-mysql-stored-procedures-with-php-mysqlmysqlipdo/
Forum: XML, XSLT and XPATH Mar 26th, 2009
Replies: 1
Views: 919
Posted By mazeroth
Here is a tutorial explaining how to create web services in php using amf, xmlrpc, json, and rest. It's using the zend framework but it may still help people understand these a little better (or go...
Forum: PHP Jan 27th, 2009
Replies: 7
Views: 55,495
Posted By mazeroth
Here's a quick tutorial on executing mysql stored procedures in php using mysql, mysqli, and pdo for the people using the different database extension:
...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC