Search Result

Collapse
147 results in 0.0032 seconds.
Keywords
Members
Tags
database
  •  

  • newbie93
    started a topic Is something wrong with my query?

    Is something wrong with my query?

    Hey guys. I'm working on a database with 3 tables, some with overlapping information. A few columns from each table can be updated by the user via the web app that I am creating. But... There is an issue. Not sure what it is, but my updates aren't happening. I am wondering if something is wrong with my query. (Actually, after debugging, I am quite certain there is).
    Code:
    	if (empty($errors)) { 	
    		$query1 = "UPDATE owner SET
    ...
    See more | Go to post

  • newbie93
    started a topic clarification on GROUP_CONCAT()

    clarification on GROUP_CONCAT()

    Hi everyone - I need a way to turn a column in my table into a list. Basically, my table consists of: userId, name, and "role" (0 or 1). I want to write a function that outputs a list of usernames. This is what I have:
    Code:
     
             function checking_query() {
    		global $connection;
    		$query = "SELECT GROUP_CONCAT(userId) FROM owner";
    		$result = mysql_query($query, $connection);
    		confirm_query($result);
    ...
    See more | Go to post

  • newbie93
    started a topic Is it possible to check which fields were changed?
    in PHP

    Is it possible to check which fields were changed?

    Hello everyone,
    I am wondering if it is possible to check *which* rows were updated when a user edits a field.
    This is my problem: I have a list of users and it is important that no usernames are repeated. I have already created a function that checks if the username already exists in the database when a user is intially added. However, I am not sure how I can check if, once the username field is *updated*, if the newly updated field...
    See more | Go to post

  • Could anyone recommend an interactive application for data analysis?

    Hi, everybody
    I need to conduct a large amount of data analysis on database. Could anyone recommend an interactive application for data analysis?
    The requirements are:
    1. Able to cope with the unexpected requirement rapidly.
    2. Able to perform further computations on results interactively.
    3. Easy to confront even a large amount of complex computations
    What would you great expert recommend?...
    See more | Go to post

  • newbie93
    started a topic Undefined index
    in PHP

    Undefined index

    Hi, so this issue has been driving me crazy for the entire workday. I hope someone can help; I am sure it is trivial.
    I am trying to access a user in a database based on their id. The id is auto incremented and thus unknown to the person accessing the user. I have created the functions below for accessing user information:
    Code:
    	function get_user_by_id($user) {
    		global $connection;
    		$query = "SELECT * ";
    ...
    See more | Go to post

  • Unspecified error: On opening OleDbConnection in VB. net

    • Getting Unspecified error on 32 bit windows XP with office 2010.
    • issue is reproducible on some machine not all.


    Code:
     Dim dbConn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\test\data.mdb")
       try
       {
       dbConn.Open() 
       }
    Exception

    Code:
    Exception: 
      at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
    ...
    See more | Go to post

  • Jindra
    started a topic cleanup actions on sys.exit()

    cleanup actions on sys.exit()

    Hello,
    I wrote a GUI app in Jython (using Java Swing) which uses database. The application remains connected for its whole run time until the main window is closed (JFrame, using defaultCloseOpe ration = JFrame.EXIT_ON_ CLOSE).
    Now, when exiting, I would like to make sure I explicitly close the database connection. Is there any function, like _atexit() in C, where I could place my code?
    Thank you very much.
    See more | Go to post

  • automatically run a SQL statement quarterly or monthly

    I have a SQL statement that I need to run on my databases quarterly (monthly would work too). It compresses the database and speeds up the searching of it for my company. As of right now, I just have a reminder on my calender to tell me when I need to run it. My question is, is there a way to set it up so that this statement will run automatically?
    See more | Go to post

  • tqa89
    started a topic cannot save date from user input to database
    in Java

    cannot save date from user input to database

    Hi,
    When user input the date,I want to save it to database. But I'm not sure about the date format,whether I should change the format?
    I'm using getter and setter method to save to database.I'm using db2
    This is my code.
    Code:
    DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
    Date startDate=user.getDate_from();
    				dateFormat.format(startDate);
    						user.setDate_to(startDate);
    ...
    See more | Go to post

  • tharindu96
    started a topic how to make this code work?
    in PHP

    how to make this code work?

    http://localhost/download.php?lt =a&sr=0&sp=9

    lt = letter(eg:- a,b)
    sr = start
    sp = stop
    Code:
       <?php
    	if(isset($_GET['lt'])){
    		$lt = $_GET['lt'];
    		if(isset($_GET['sr'])&&isset($_GET['sp'])){
    		$sr = $_GET['sr'];
    		$sp = $_GET['sp'];
    			if(!empty($lt)){
    				if(!empty($sr)&&!empty($sp)&&$sp!=9){
    					if(strlen($lt) ==
    ...
    See more | Go to post

  • Django error: django.db.utils.DatabaseError: You mustnot use 8-bit bytesrings

    When I run "python manage.py syncdb" and after I input that I want to create a superuser, cmd told me the error below:

    django.db.utils .DatabaseError: You mustnot use 8-bit bytesrings unless you use a text_factory that can interpret 8-bit bytestings (like text_factory = str). It is highly recommend that you instead just switch your application to Unicode strings.

    Could you help me solve the problem? Thanks!
    See more | Go to post

  • tharindu96
    started a topic Why is this code won't work
    in PHP

    Why is this code won't work

    Code:
    $itarget = "images/";
    							$ftarget = "files/";
    							$idir = $itarget.$image['name'];
    							$fdir = $ftarget.$file['name'];
    							$gquery = "INSERT INTO `games` VALUES ('','".$name."','".$content."','".$idir."','".$fdir."','','')";
    							if(mysql_query($gquery)){
    								$itarget = $itarget.basename($image['name']);
    ...
    See more | Go to post

  • Catalyst159
    started a topic Form for entering data into linked Table

    Form for entering data into linked Table

    I have a linked table called "dbo_tblNot es".

    dbo_tblNotes has the following fields:

    id (Data Type = Number, Indexed = No)
    note (Data Type = Memo)
    addDate (Data Type = Date/Time)
    uid (Data Type = Text)
    private (Data Type = Number)

    I am trying to create a form that I can use to enter notes and comments. Any notes that are entered would be stored in the "dbo_tblNot es"...
    See more | Go to post

  • how to connect 35 checkboxes using vb 6 to database?

    hi. im new with vb. i would like to ask how to code 35 checkboxes and connect it to database with a primary key (lets name it Patientno) and a label from another form that has the patient's name. i tried to use the if-else statement, but of course its an epic fail with he database.

    my DB looks like this (imagine it in DB)
    /* 1 is checked. 0 is uncheck

    Patientno ____ Patientname _______ chk1 ____chk2 ____ chk3...
    See more | Go to post

  • Stuart Hunter
    started a topic Isotope - Database driven

    Isotope - Database driven

    I'm currently setting up an image gallery using Isotope and it's combination filter:

    http://isotope.metafizzy.co/demos/co...n-filters.html

    However... this will also be used as an internal resource for the company to find relevant PR imagery from 1000's of photos (not all these images will be public facing).

    Is there a way of automating the addition of content to an Isotope gallery via an upload form, and...
    See more | Go to post
    Last edited by Stuart Hunter; Feb 3 '12, 04:10 PM. Reason: to add link
Working...