multiple

Assign a block to more than 1 region

How do I assign a block (the very same block) twice or thrice to different regions? The idea is not to have the same block on the same page more than once, but in different locations on different pages, so four 'displays' would be available: Block X in the $top_left region Block X in the $top_right region Block X in the $above_content ...

how to insert same data into two tables in mysql

dear all. is this possible if i want to insert some data into two tables simultanously? but at table2 i'm just insert selected item, not like table1 which insert all data. This the separate query: $sql = "INSERT INTO table1(model, serial, date, time, qty) VALUES ('star', '0001', '2010-08-23', '13:49:02', '10')"; $sql2 = "INSERT INTO...

Doing a join over 2 tables in different databases using Hibernate

Hi everybody, I have two tables in two separate oracle databases (not schemas) that I need to join in Hibernate. Currently, I have two hibernate sessions going out to the separate databases. Before anybody says look at Hibernate Shards, I have spent a better part of a day looking at that sub-project and have found that: it is for hor...

how to submit multiple rows selected on row click to database in JqGrid?

i have a JqGrid and when I have to select multiple rows ....and click on a release button it need to send that columns to database . How can I achieve this? Do I have to send the data in JSON format ? ...

Flex 4 Best Practice when using RemoteObject and multiple components

Hello! I was wondering what is considered to be a best practice when I have multiple components and use RemoteObject for AMF communication with a PHP backend. Have the RemoteObject in the Main.mxml file with all the methods declared here (with handlers and all) and have all components call functions from the parentApplication, thus ha...

Examples of multiple instance javascript widgets (on same page)?

Apologies for the quick question, but I'd like to see some sample widgets that allow multiple instances in the same page. (Articles about this technique would also be good!) Digg's widget allows this (http://about.digg.com/downloads/widgets) but I don't know of any others. Do you? Thanks. ...

Finding multiple search results in an array in Java

I have an array that I made that consists of first names. I have a search function that searches through the elements of the array and it works fine. However, for multiple elements of an array, I cannot find out how to print how many results were returned. For example, if "John" in my example is found, which it is, I do not know how to s...

multiple client support

Hi All, Am creating a very customizable web application in j2ee. The application has some configurations that are specific to each client supported and the client can have multiple users. The way I am thinking of doing this is storing the configuration in a db table having the columns client_id , property_name, property_value and assoc...

How to use only certain validation set for validating data in Cake PHP?

I was trying to validate my User model data and I came upon this problem. Say i have the following validation rules, stored in $validate variable: var $validate=array( "username" => array( "usernameCheckForRegister" => array( "rule" => ..., "message" => ... ), ...

Urgent! Need help selecting IDs from a table if 2 conditions in other tables match

Sorry for the worst question title ever but I find it hard to explain in a sentence what im having trouble with. I am developing a user feedback system using ASP.NET and C#. I have multiple tables and am trying to populate dropdown lists so that the feedback can be filtered. My tables: CREATE TABLE tblModules ( Module_ID nvarchar(10) ...

Multiple contact selection in Android

Is it possible to get a multiple contact selection activity in Android? ...

jQuery - send multiple URLs to multiple text input fields

Hey all, I'm having a problem with jQuery that I thought would be simple, but I still haven't found a solution. I have an upload form for users to upload images in WordPress, and when a user clicks "insert into post" the url of the uploaded image is supposed to go into a text input field. I can get 1 to work fine, but when I have mult...

How to return multiple rows in Nhibernate?

Hi, I am new to Nhibernate. I want to retrieve collection of records against an entity. For example to retrieve a single record I have used the following statement: resultObject=session.Get(id); This above statement would retrieve a single record based on the 'id" I provide. But I want to retrieve multiple rows from a table the way w...

MYSQL - Multiple Select and LIKE Method

What i want is: Get posts with date greater then 2010-03-02 and with the meta_value 'something' + like '2010-' because there are other values like 239048192304 or 293811743 $query = "SELECT DISTINCT wp_postmeta.meta_key, wp_postmeta.meta_value, wp_posts.ID, wp_posts.guid, wp_postmeta.post_id, wp_posts.post_title FROM wp_postmeta INNER ...

PHP - two multiple select dropdowns, passing user selections into a MySQL query

EDIT: The drop down menus have the following listed in them: Typing Course Daily Marketing Course When using the code below to add selected text form the dropdown into the MySQL statement, only the first word appears ie. 'Typing' and 'Daily', the code looks like this: SELECT * FROM `acme` WHERE `course` IN('Typing', 'Daily')AND `date...

Multiple NsfetchedResultsController on a UItableView

Hi guys! sorry if this is a noob question but i'm having difficulty implementing 2 nsfetchedresultsController in a tableView. i wanted a fetchedresultsController in each section of the table (2 sections), something like this: Wishlist product product2 Bought product3 I know that for this example i wouldn't need 2 nsfetchedResult...

How to write multiple arrays in plist in iPhone?

Hi friends, I have ten arrays in my application. I want to write those array values into the (document s directory)plist. Is possible to put 10 arrays into the one plist?.Else i will create separate plist for each arrays. Which one is possible to implement my application?. Please guide me and give some sample links. Thanks ...

Nservicebus configuration in WPF

Using the pub/sub sample i managed to get multiple instances of the same console app to read all messages sent from the publisher. What I did whas this: namespace Subscriber1 { public class EndpointConfig : IConfigureThisEndpoint, AsA_Server { } public class OverrideInputQueue : IWantCustomInitialization { public void...

How to create a file input which allows multiple files to be selected?

Hi there, how do I create a file input which allows multiple files to be selected and uploaded? It seems that <input type="file" name="fileinput"> allows only 1 file to be selected at a time, while the input on http://filetolink.com/ (for example) let's the user select multiple files. How is this done and how do I go about processing...

How do I handle multiple buttons in a jQuery ajaxform?

I'm using the ajaxform plugin for jQuery. I have a form with Save and Cancel buttons. How do I handle multiple buttons so that the Save button posts to a URL and the Cancel button reloads the form container with a read only view from a different URL? ...