Hello
I have a table : tags(tagname,entryid,stamp) and i want to make a section for the most trending tags today, the tagname column has no unique value, because many entries has the same tag, so the php code that i want should display the most attached tags today.
Note: the "stamp" column is the date of adding the tag in UNIX time stamp format.
…
I am trying to add a list of linked lables to a listview. I amd doing so like this
foreach (String s in values)
{
LinkLabel label = new LinkLabel();
label.Text = s;
txtBox.Controls.Add(label);
}
}
It keeps adding just one item to the listbox even tho there are more. Any ideas?
ps)…
I think this will be some obvious problem, but I cannot figure it out. I hope someone can help me.
So I have a slider with 3 slides - Intro, Question, Submit
Now I want to make sure that if the question is answered wrong people cannot slide to Submit.
The function to move slide is like this:
function changeSlide(slide){
// In case…
Hello there SO'ers,
I got a quite simple problem but cant find a solution for it.
I have a logger with a file handler added, but it still spams to hell out of my console.
How could I get the logger to solely route all output to a file, with NO console outputs?
Thanks a lot,
cru
Hello SO;
I have an issue with .Net reflection. The concept is fairly new to me and I'm exploring it with some test cases to see what works and what doesn't. I'm constructing an example wherein I populate a set of menus dynamically by scanning through my Types' attributes.
Basically, I want to find every type in my main namespace that declares…
Hi all,
I'm pretty new to stata...
I have a set of observations of the form "Country GDP Year". I want to create a new variable GDP1960, which gives the GDP in 1960 of each country for each year:
USA $100m 1960 USA $100m 1960 $100m
USA $200m 1965 --> USA $200m 1965 $100m
Canada $60m 1960 Canada…
I have two data grids. The first auto-loads a list of items (json data store). OnCellClick the first grid fires a dynamically parametrized url and loads data into the second grid. It works fine, but the pagination of the second grid does not focus the new context.
What shall I do to make the pagination work with the new url?
Hello everybody.
I made a login component for my flex 4 application, and i load this component from my main flex application with:
<ns1:Login id="page_login" visible="true"></ns1:Login>
Now i want to change the visibility from true to false, from the login component. Is there a way to do this kind of interaction?
Thanx!
Please help,
I have a form on wordpress. I want the user to be able to click an image instead of the standard submit button.
I have the image appear and the submit button disappear - but nothing happens when I click on the image.
This is the code I am using:
.formBuilderForm .formBuilderSubmit {
clear: both;
text-align: right;
…
I have a table, tblTags which works in much the same way as StackOverflows tagging system.
When I view a tags page, let's say the tag Tutorial I want to display the 10 tags before and after it in alphabetical order.
So if we are given the tag Tutorial of ID 30 how can we return a record set in the order resembling:
Tap
Tart
>…
I'm trying to internally redirect all requests to index.php and externally redirect all requests that contain index.php using a .htaccess file.
So URLs like http://host/test should be processed by index.php and URLs like http://host/index.php/test should be redirected to http://host/test and then processed by index.php (without…
I've been looking into some of the WYSIWYG editors (TinyMCE, FCKEditor, etc.) and they all seem to offer a lot of options.
However, one vital feature that seems to lack is a simple "add custom html" option which would allow the user to input any of these embed-snippets you find all around the web these days, for example a…
I have an Excel workbook that I want to use as a template. It has several worksheets setup, one that produces the pretty graphs and summarizes the numbers. Sheet 1 needs to be populated with data that is generated by another program. The data comes in a tab delimited file.
Currently the user imports the tab delimited…
Hello!
I recently used git-svn to clone an SVN repository, for the purposes of maintaining my own branch of an open-source project.
I'm also working with others on this branch, so we use a shared Git repository to help with the collaboration.
A colleague wishes to fetch new revisions from the original SVN repository.…
I'm trying to include script and style references that will not break on deployment, however I can not even get the references to work locally. I have tried using Url.Content() and MVCContrib's <%=Html.ScriptInclude("")%>.
My scripts are in a Scripts folder on the root of the site; my styles are in the usual …
I'm trying to attach a div from a voting plugin before the content is generated on both the excerpt and the content of a post. Here's what I have in my plugin:
if (get_option('ilt_onPage') == '1') {
function putILikeThis($content) {
if(!is_feed() && !is_single() && !in_category('3') ) {
…
Hi, i'm just observing what NMAP is doing for the 3 ports it reports are open.
I understand what a half-scan attack is, but what's happening doesnt make sense.
NMAP is reporting ports 139 are 445 are open..... all fine.
But when i look at the control bits, NMAP never sends RST once it has found out the port is…
The MSDN CreatMutex() documentation (http://msdn.microsoft.com/en-us/library/ms682411%28VS.85%29.aspx) contains the following remark near the end:
Two or more processes can call CreateMutex to create the same named mutex. The first process actually creates the mutex, and subsequent processes with sufficient…
I am converting a javascript/php/ajax application to use jQuery to ensure compatibility with browsers other than Firefox.
I am having trouble passing true, false, and null values using jQuery's ajax function.
Javascript code:
$.ajax
(
{
url : <server_url>,
dataType: 'json',
…
I am writing a web service that will receive uploads from mobile clients. The data will have 4 or more text fields followed by a large binary field. What is the best standard technology to use for this, as I may make the API public in the future and want to use something that everyone likes. XML? SOAP? Just…
I've read a time ago about generate xml from Java using annotations, but I'm not finding a simple example now.
If I want to make a xml file like:
<x:element uid="asdf">value</x:element>
from my java class:
public class Element {
private String uid = "asdf";
}
Which annotations I should…