Hello,
I have a mysql select query that has a groupBy.
I want to count all the records after the group by statement.
Is there a way for this directly from mysql ?
thanks.
I have the following code I am trying to get working correctly:
<div id="newspost_bg">
<article>
<p>
<header><h3>The fast red fox!</h3></header>
This is where the article resides in the article tag. This is good for SEO optimization.
<footer>Read More..</footer>
</p>
</article>
</div>
<div id="newspost_bg">
hello
</div>
<div id="newspost_bg">
hello
</div>
<div id="advertisement">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-2139701283631933";
/* testing site */
google_ad_slot = "4831288817";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
</div>
Here is the css that goes with it:
#newspost_bg{
position: relative;
background-color: #d9dde1;
width:700px;
height:250px;
margin: 10px;
margin-left: 20px;
border: solid 10px #1d2631;
float:left;
}
#newspost_bg article{
position: relative;
margin-left: 20px;
}
#advertisement{
float: left;
background-color: #d9dde1;
width: 125px;
height: 605px;
margin: 10px;
}
The problem I'm experiencing is that the advertisements im trying to get setup will align with the last with the id of newspost_bg but im looking to havce it align to the top of the container it is in. I dont know if this is enough info, if not please let me know what you might need. Im new to the web coding scene so any and all critiques help me.
Hello guys, I've made an application that makes full use of ajax, and what I need to do is:
I want a button with a description + image that when clicked is disabled and instead of the original image in the button, appears the ajax loading element id inside the button. And when the ajax loading is complete, the original image of the button returns to the normal.
Is there any good source on how to do something like this?
What do you guys suggest?
Hello All,
I want to add a sub view in current view, this sub view is 300x300. When I add subview using
[self.view addSubview:md.view];
the md.view will appear at position (0,0) is there any way to add subview in center?
Thanks
Hello,
Is there any way or design pattern can I use to get Generic CRUD operations?
Because I’m working on n-tire application using EF in the data layer and I don’t want to use CRUD Functions in Every Entities.
Your help would be appreciated
Hello Colleagues,
If XMLHttpRequest is used with asynchronous mode, then are the onreadystatechange callbacks for 0,1,2 states called in UI thread only or in the background thread?
And is it possible that this behaviour could be different in different browsers?
Best Regards,
Keshav
Hello, I have created a custom Outlook form in 2007 and I have some receipeints that need to visualize it but do not use Outlook as their email program. Is it possible to make changes to the Form to ensure that they are able to view the form as an email?
Hello,
If I write an application in java, does it use native widgets if run on Mac OS X? Or does it use "lookalike" widgets provided by the java runtime?
Thanks.
Hello,
I got problem. I'm builing an app with KohanaPHP framework and I got rediretion endless loop.
Here's the code I put in constructor oh my main controller:
if(empty($this->user->real_name)) {
url::redirect('/');
}
Any ideas how to solve that issue?
Hello,
I have an NSString that then sets a UILabel. This contains unicode such as...
E = MC Hammer\U00ac\U2264
and complete ones such as
\U2013\U00ee\U2013\U00e6\U2013\U2202\U2013\U220f\U2013\U03c0 \U2013\U00ee\U2013\U220f\U2013\U03c0\U2013\U00aa\U2013\U221e\U2014\U00c5
These are not displaying correctly, is there anything I need to do to parse these at all?
Hello
I've seen BalusC's page on passing values to a validator but that is using inputText components. I'm using rich:inplaceInput components and it doesn't seem to work. Can someone tell me if it is possible, and if it is how to do simply?
Thanks
Hello everyone,
I found an awesome tags plugin on cakedc site. This plugin makes your tagging concerns very easy and is able to make anything taggable.
Has anyone used it? I find it a bit difficult to understand few things listed below:
difference between the name and keyname columns of the tags table.
the use of columns 'identifier', 'weight' in tags table
Thanks
Hello
How can I get page faults statistics from kernel for my application while it is running?
What about other events, like inter-cpu migrations count in SMP nodes, or number of context switches?
I want to count such events for various small parts of the program.
Thanks.
Hello,
Anybody can help me with this mysql query:
delete from generic__campaings_included where dealer_id not in ('2,3,4') and campaing_id = '1'
When i execute this query i didnt get normal result. Exceot 2 (dealer_id) all rows deleted.
How can i use "not in" with "and" operator?
PS. Sorry for my english)
Hello,
I have a signed Excel workbook and I want to delete the signature from it. The problem is that when I try to delete the signature there's a prompt for confirming the deletion and I want the process to be fully automatic.
Here's a code sample, the prompt appears when the last line executes:
Dim source As String = "c:\temp\signed.xlsx"
Dim app As New Application()
app.Visible = True
Dim book As Workbook = app.Workbooks.Open(source, UpdateLinks:=0)
app.ShowToolTips = False
Dim sig As Microsoft.Office.Core.Signature = book.Signatures.Item(1)
sig.Delete()
Thanks
Hello,
Let's say I have a row:
???????
Someone enters as a query:
??
Should I break up the characters in the query, and individually perform a LIKE % % match on each character against the row, or is there any easier way to get a row that contains one of the two characters? FULLTEXT won't work with CJK characters.
Thanks!
Hey Guys
I got some question about nested javascript objects (is it me, google or is javascript quite poorly documented?). Now, I got the following (nested) object:
obj: { subObj: { 'hello world' } };
next thing I do is to reference the subobject like this:
var s = obj.subObj;
now what I would like to do, is to get a reference to the object obj out of the variable s.
Something like:
var o = s.parent;
Is this somehow possible?
Hello,
Im astonished. Im trying this simple calculation in a Java application:
System.out.println("b=" + (1
- 7/10));
Obviously Im wainting for "b=0.3" in the output but here's what I get:
b=1
What?! Why this happens?
If I make:
System.out.println("b=" + (1-0.7));
I get the right result which is "b=0.3".
What's going wrong here?
Thanks!
Hello! I'm writing python program to build mac-address cache using pcap. But pcap module for python has no good documentation. I have found this page http://pylibpcap.sourceforge.net/ with code example and it works fine.
Can anybody modify this example to make it able to show the source mac-address for each packet? Or point me to the documentation where I can read about it ...
Hello friends, I heard from my peers that knowledge of sharepoint is going to be good for career. We do not use sharepoint at our office. So dont know how to get started. These are my sharepoint newbie questions
Is learning sharepoint worth the effort?
Where are the resources to learn sharepoint?
Is there any reference project I should considering aiming to develop?
Appreciate your inputs.
Hello, everyone
I am doing some research related to Java NIO. I need to find some representative
applications that are based on this framework. Please feel free to suggest! The more, the merrier!
Thanks
Hello Guys,
I am newb To Android.I just to check out few applications in my Desktop and have downloaded some sample applications. However, they are in the format .apk.
Please let me know the procedure to import this file into Eclipse which helps me to run the application.
Regards,
Serenity.
Hello everyone,
I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples?
thanks in advance,
George
Hello All,
I have created login page using Tibco GI and want to integrate this page with Restful web service for authentications.
can any one know how to integrate restful web service with tibco GI?
Regards,
Bikkie