No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
-
- Interests
- -
- PC Specs
- -
Re:
Hi, when I try to use a SELECT statement in php, I get an error: > Resource id #18 <?php include("include/session.php"); $get = mysql_query("SELECT value FROM settings WHERE id=2"); echo $get; ?> The file session.php contains the database credentials .etc and it's correct. But then when I try to echo … |
|
Column A (datetime) ----------------------- 2011-04-01 00:00:00.000 2011-04-01 00:00:00.000 2011-04-09 00:00:00.000 2011-04-01 00:00:00.000 2011-03-31 00:00:00.000 Column B (datetime) ----------------------- 2011-03-25 15:45:56.457 2011-03-25 15:52:37.933 2011-03-25 15:54:37.197 2011-03-25 16:05:30.023 2011-03-27 00:43:23.713 When i try to query the above record [CODE] Select * from table where A between '1900-01-01' and '2012-01-01' [/CODE] this work … |
|
Re:
I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? … |
|
Re:
Hi, This is a SQL statement query (so may be in the wrong forum). Any help much appreciated! I have 3 tables in an Access DB (I know!): IndexData is main table with title, description, date, fileid Category table has categories (Cat1) associated to fileid in IndexData i.e. a fileid … |
|
Re:
hi Friend i have a problem to create user through Membership provider I Wrote [CODE] try { Membership.CreateUser(txtbox1.Text, txtbox2.Text); Response.Redirect("AHome.aspx"); } catch (Exception ex) { Response.Write(ex.Message); } [/CODE] and I got "The password-answer supplied is invalid. Exception" Please Help Me...... |
|
Re:
All i wanna do is simple, I wanna display an image from an access database. I try alot of things to no result. Like ascii code or nothing but a blank image with a red 'X'. [B]Here is the code :[/B] [code] <% set conn=server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.jet.oledb.4.0" conn.Open(server.MapPath("test1.mdb")) set rs= conn.Execute("SELECT … |
|
Re:
I have a page signup.aspx where user can register, how this page will find from which page request came from and how it will redirect user after registration to the requesting page, i want to do this using query string but don't know how PLZ SHOW ME CODES. i am … |
|
Re:
Hey Guys, I have gotta problem. I want to store data into database(which i can do) from C# application. Now the thing is every time I insert or update, I want my application to catch that transaction, create a 'TRANSACTION ID', and store it in table. So that it would … |
|
I was trying to backup a database with the name test. I got the error as below: ERROR 1064 (42000): You have an error in your SQL syntax; check...... This error occurred when I am executing (command line) mysql> mysqldump -u root -p password test > test.sql; How could this … |
|
Any1 know how 2 update data in a DataEnvironment? I tried to search throught the net but unable to get solution to my problem. Please guide me with some simply code. Thx in advance. |
|
I would like to include .swf file in a vb 2005 program. I have no idea how and where to include the .swf file. It is inside the picture box? Please guide me, I am new in vb and have no idea how 2 do it. thx |
|
Re:
I have a dropdown list at the bottom of my page. It's populating like it's supposed to but when I choose whatever option I want and click submit it doesn't repopulate the content on the page like I want it to. I'm trying to have content of the page change … |
|
Re:
i am trying to run this code but i am not getting anything from the mysql_fetch_assoc($result) it is just blank can anyone help me thanks in advance [CODE]<html> <body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="hayden"; // Mysql password $db_name="ecng3020"; // Database name $tbl_name="students"; // Table name … |
|
i am using scanner class, i faced problem when i tried to get a string with space. How can i modify my code to solve the problem. Here is my code: [CODE] import java.util.Scanner; class abc { public void main(String[] args) { Scanner abc = new Scanner(System.in); System.out.print("Name: "); String … |
|
I have created an asp.net web project and deployed it in my pc with the virtual directory set to websetup1. How should i access my website? When i type my ip add in the browser, it will display my router configuration page instead. Should i include virtual directory in my … |
|
Hi, I am dealing with AJAX UpdataPanel. I created 2 radio button during run time. By default there is a button in the updatepanel. A user will check either one radiobutton in updatepanel and then hit the button. How do i got to know which radiobutton is checked? [CODE] RadioButton … |
|
When a host request a page from server, the server will 1st bind a encryption key to the host's mac address. Data provided by host will be encrypted at the client side using the same encryption key. The encrypted data submitted by the host will be decrypt by the server. … |
|
Let say i hv two textbox, i.e. TextBox1 and TextBox2 and a button. Is it possible for me to write text into either Textbox1 or TextBox2 when the focus is at the textbox and button is clicked subsequently? For example my focus is now at TextBox1 then i clicked on … |
|
Let say i hv two textbox, i.e. TextBox1 and TextBox2 and a button. Is it possible for me to write text into either Textbox1 or TextBox2 when the focus is at the textbox and button is clicked subsequently? For example my focus is now at TextBox1 then i clicked on … |
|
I have problem dealing with EditItemTemplate. What I am trying to do is to update 'lowerIncomeBoundary' with the sum of amount of current value in tb1 and tb2 which is the sum of "lowerIncomeBoundary" and "upperIncomeBoundary". Appreciate if someone can provide me a way to access item in EditItemTemplate... [CODE] … |
|
I created a TableCell with the TableCell.Text = "text from database" then i add TableCell control into an empty table during page load. I am trying to retrieve the text in the TableCell after a postback by user how should i do that? my code: [CODE] TableRow tr = new … |
|
i was trying to build a glossary section for a web. The idea for the glossary part is that, when users mouse over the term in the glossary section the meaning/definition of the term will appear. How this could be done? Do I need a database for easier maintenance rather … |
|
Is it possible to send mail through my web application without having SMTP server? For example, the mail will be send through my existing hotmail account or yahoo account to ppl who registered in my web application. If it is viable, please provide me some resources on the method...Thanks in … |
|
How can i display the selected item's text in the dropdownlist? Assumed i have a dropdownlist with 3 items which are: "one" "two" "three" When i selected "three" then the word "three" will appear in the textbox. |
|
I am using the login control in ASP.NET. When I run the program an error msg "Incorrect syntax near the keyword 'User' " appeared in the debugging mode. I have no idea what is the problem. Anyone know what is wrong with my code? [CODE] Protected Sub Login1_Authenticate(ByVal sender As … |
|
I whould like to check on a particular file in a share network whether it is open by other user. If it is open by other user, i would like it to be close. Here is my code for opening the excel file and checking code. I have no idea … |
|
Hi, i am having a vb6 program on a local lan server in my company. Recently i did an enhancement to the vb6 program. The program is able write into a blank excel sheet located in the application path. It work fine previously without any problem. After the enhancement, the … |
|
i am trying to coonect ms access with vb6. The code is working but after i execute "SELECT * from table" it is showing the content for the last row in the ms access. I am wondering how i can change my code so it display all the content instead … |
|
Hi, there. I am looking links and sources for studying and understand way to navigate around windows directories. This can be easily seen especially during software installation where user is able to change the installation path. Is it related to the CommonDialogAttach.* ? Please give me a helping hand for … |
|
Hi, I am given assignment to develop simple games on applet. I have problem understanding the function of some abstract class... any1 would like to explain to me? Thx in advance. [CODE] class snakeGame extends Applet implements Runnable { Thread runner; public void init(){} public void start(){} public void stop(){} … |