[symfony-users] Remote Call once
Hello. i have sucha problem. what you enter the site i want to check is div id = samplediv exist. is it does not exist i want to create it. how can i do this ? thnx. __ Yahoo! kullanıyor musunuz? İstenmeyen postadan bıktınız mı? Yahoo! Posta'da piyasanın en iyi istenmeyen posta korunması var http://tr.mail.yahoo.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Can i use JSON for my Chat
Hello. I have a chat application. Let's assume there are 10 chat conversation on my table like this, Mary : -Hi Jhon: Hello Mary : How are you John: Fine and you Mary: Fine too. Mary: Today ic nica day Every time i do not want to get all conversation. I want to save last 9 conversation somehow on clients box. And with request i want the last line. If there is one. Let's say after Mary John wrote: John:Yes it is On Mary's box, i want just request last line (Yes it is) and i want to save all other conversation on her box. How can i do this ? Is is possbile wirh JSON? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Help SQL Query how in Criteria
Hello. How can i write this query with Criteria ? $sql = SELECT Chat.SENDER, Chat.RECIEVER FROM Chat WHERE Chat.OWNER=38 AND Chat.SENDER NOT IN(14) AND Chat.SENDDT='2008-08-20 10:19:06' AND Chat.STAT='0' GROUP BY Chat.SENDER This $sql works. When i try it with Criteria it is not working. What is the problem ? I guess problem is with Chat.SENDER NOT IN(14) = $c-add(ChatPeer::SENDER, $rsender, Criteria::NOT_EQUAL ); How can i correct the mistake ? Thanks. $c = new Criteria(); $c-addSelectColumn(MinchatPeer::R); $this-minrs = ChatPeer::doSelectRS($c); $rsender = array(); while ($this-minrs-next()) { $rsender[] = $this-minrs-getInt(1); } $c = new Criteria(); $c-clearSelectColumns(); $c-addSelectColumn(ChatPeer::SENDER ); $c-add(ChatPeer::SENDER, $rsender, Criteria::NOT_EQUAL ); $c-add(ChatPeer::SENDDT ,date('Y-m-d H:i:s',strtotime(now -$check minutes)),Criteria::GREATER_EQUAL ); $c-add(ChatPeer::STAT , '0'); __ Yahoo! kullanıyor musunuz? İstenmeyen postadan bıktınız mı? Yahoo! Posta'da piyasanın en iyi istenmeyen posta korunması var http://tr.mail.yahoo.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---