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 ...
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...
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...
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 ?
...
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...
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.
...
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...
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...
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" => ...
),
...
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) ...
Is it possible to get a multiple contact selection activity in Android?
...
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...
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...
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 ...
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...
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...
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
...
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...
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...
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?
...