Hi guys,
I would like to know whether is there an option to detect locked tables in mysql or no. I mean locked by LOCK TABLE table WRITE/READ command ?
cheers,
Marcin
please help me to choose the best plug-in in my particular scenario,
I am building a page where user will enter his/her first or last name initial and it will populate the name and I have around 25k records in my db.
what do you guys recommend?
hi guys,
how to make this work in mysql?
select ID,COMPANY_NAME,contact1, SUBURB, CATEGORY, PHONE from Victoria where (city in ( select suburb from allsuburbs)) and CATEGORY='Banks'
this below statement is working:
select ID,COMPANY_NAME,contact1, SUBURB, CATEGORY, PHONE from Victoria where city in ( select suburb from allsuburbs)
if I add "and" , it gives me an empty resultset,
thanks
Hi Guys,
I am working on an iPhone application which is to be converted to iPad application.
The iPhone app has a facebook and twitter API integrated and when I use the same into the iPad app then the Dialog for facebook API opens same as the size as in iPhone.
So it looks very small.
So Is there anything that I need to doin the code?
Is there seperate API for twitter and facebook for use in iPad?
Please Help and Suggest
Thanks
Just as the title says. As i went through different explanations for choices made about the stylesheets of HTML pages, the masters sometimes seem to know how this layout engine seems to work in IE6, IE7 or IE8. I haven't found a good resource about Trident yet, maybe you guys can help me out?
Hey Guys,
Do I have to put 2 icon images in my build for iPad? and what are the names of those 2 build, one is Icon.png and what is the other one?
Thanks for all your help
Hi guys,
I populate dropdownlist in ASP.NET webforms:
<asp:DropDownList runat="server" ID="salesman"></asp:DropDownList>
users= Buslayer.GetSalesRep();
foreach (userentity user in users)
{
salesman.Items.Add(new ListItem(user.FirstName + " " + user.LastName, user.UserID.ToString()));
}
after submission, I am still getting selected index = 0,
I tried all of this:
Response.Write("" + salesman.SelectedValue);
Response.Write("" + salesman.SelectedItem.Value);
Response.Write("" + salesman.SelectedIndex);
none works,
?????????????????????????????
thanks
Hi guys,
I want to override the validation_errors() method of the form helper in CodeIgniter for one controller only, so that it will display a single error message (as a sentence in plain english) instead of the detailed line item summary. I've tried defining a validation_errors() function in my controller, which is what I usually do with Silverstripe's Sapphire framework, but this won't with CI.
What's the best way to override methods for a case by case basis?
Hi guys
I want to make a program which takes video and audio and merges them. Video Type or audio type is not important for me. I just want to make so- called program. How can i make this ? does any library exist for this ? (I know there are many program about this topic but i want to learn how to implement such a program.)
Help me please about this topic.
Has anyone been able to get Oracle Forms running JInitator to loan in Internet Explorer 8 yet? I have tried removing all add-ons, various version of Java, add the domain to the trusted sites using wildcards, and using compatibility mode to no avail. I am looking to get our Oracle guys to kick there Internet Explorer 6 habit. This is related to Oracle E-Business.
Hello Guys
I display about 8 images in a per row of UITableView. But iphone width is enough for 3 or 4 images. How can I scroll UITableView to right and left to see others?
Thank you.
Hey Guys,
I'm trying to build a multi model form - but one of the issues, is I need to link the models within the form.
For example, lets say the form I have has the following models: Users, Profiles
When creating a new user, I'd like to create a new profile simultaneously, and then link the two. The issue is, if neither have been created yet, they don't have ID's yet - so how can I assign linking values?
Thanks!
-Elliot
hey guys
im somehow confused in using proper functions to escape and create a slug
i used this :
$slug_title = mysql_real_escape_string()($mtitle);
but someone told me not to use it and use urlencode()
which one is better for slugs and security
as i can see in SO , it inserts - between words :
http://stackoverflow.com/questions/941270/validating-a-slug-in-django
thanx in advanced
Hey guys.
I have a large config file (user) that i needed to go to the right location and have some default values.
Since i have a installer class, i added some parameter setting to the config file in it, but created the config files in the installers folder.
What is the best way to ensure these default parameters will be written only once, and in the right location?
Hi guys, any tail-recursive version for the below mentioned pseudocode ? Thanks !
(define (min list)
(cond
((null? list '())
((null? (cdr list)) (car list))
(#t (let ((a (car list))
(b (min (cdr list)))
)
(if (< b a) b a)
)
)
)
)
Hi Guys,
I am very new to iPhone and Xcode. I am trying to create a tab-based application, in that from the first page, when a button is clicked, I need to remove/hide some of the tabs added in the tab bar.
Can any one help me out please.
Thanks and Regards,
Bala.
hi guys,
I have changed the DNS for my domain.
what code (or header) should I use in my old server to tell the visitor's browser or ISP that it should check for my new DNS and the current content is old?
is the temp redirecting to a subdomain should help?
or you know a better way?
Hi guys, i would like to create a fixed size frame for user photos uploaded.
I've tought: i, can create a fixed sized image (200 width x 600 height for example), with my personal frame (top, left, bottom, right element graphics) , and in the center a transparency.
Ok, but i don't know how to merge the photo into the frame and save the new photo format.
Does anybody have some piece of code to help me ?
Thank you!
Hey guys,
Lets say you have a grid like this (made randomly)
Now lets say you have a car starting randomly from one of the while boxes, what would be the shortest path to go through each one of the white boxes? you can visit each white box as many times as you want and cant Jump over the black boxes. The black boxes are like walls. In simple words you can move from white box to white box only..
You can move in any direction, even diagonally.
Hi guys,
I have very confidential data in my database. I am trying to secure my data from dba.
I am a member of development team. We develop our software and delpoy in a server which has its own dba. We have limited control over the server.
In this scenario how can i deny dba of the server to lookup my data and deny making changes to them.
Is it possible?
hi guys
i had an array of objects , i need to know how should i sort my unsorted array in descending order according to the highest value inside objects
i need this using for loops not the easy way.
i had done this but it seems there is a problem
code
student[] temp=new student[s.length];
for (int i=0;i s[i + 1].GetGpa())
{
temp[i] = s[i];
}
}
how should i do it using for loops
hey guys, im trying to run a python script after every 5 minutes using cron, inside the script is a django import
import django
when running the crontab i get mailed the following error
ImportError: No module named django
this is what the crontab file looks like:
[email protected]
*/5 * * * * /usr/bin/python /Users/paulo/Desktop/ashtanga/ping/sender.py
do anyone of you know whats causing this ?
btw i do have django insalled version 1.2, python 2.6, and MacOX 10.6
Hi Guys,
I have PEAR, MDB2 and Mysql Driver installed however I keep getting:
Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /home/**/PEAR/MDB2.php on line 1937.
The Server is CentOS
I am stuck, any help would be appriciated.
Thanks :)
Hi guys,
I've got two NSDate, date and time. I'd like to add them in such a manner that I get the date from date and time from time. Any suggestions on how I do this?
Cheers
Nik