Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: asfaw
  • Content: Threads
  • Order by date
  1. asfaw

    DOM API

    I am trying to read a table (table id= "Table1") in a document and find all instances of tag names "span" extract the value contained in each span tag. I used the following and it does not work: function flag() { var text = "" var table1 = document.getElementById("Table1"); var...
  2. asfaw

    Extracting numeric values from a string variable

    How can I remove a comma in string e.g. 1,256.50 I would like to remove the ',' and store 1256.50 in a new variable. What I am trying to do is get the numeric value. Regards, asfaw
  3. asfaw

    Loading Images from a directory

    Is there a way (JavaScript) to load (offscreen images and caching) images in a particular directory on the webserver. The directory could be "images/". I would like to do this without specifying the file name. I would like to do this using Javascript Your help is very much appreciated. asfaw
  4. asfaw

    Compiler to use in a Windows 2000 or XP environmet

    Hello all, What do I need to have to learn c. I would appreciate if you can suggest a compiler that works on Windows 2000 and XP. I do not need an IDE. Thank you. asfaw
  5. asfaw

    String to Array

    Hello all, For the life of me I can not figure out why the following code does not work. Please note that when I replace var data = new String(prompt("Please enter sample numbers separated by a comma","")); var numbers = data.split(","); with : var numbers = new...
  6. asfaw

    Complex Query

    Hello all, I have the following MyISAM tables: Forum (forumid, name, description) Post (postid, forumid, userid, topicid, subject, message, date) Topic (topicid, userid, forumid, subject) User (userid, login, password) I am trying to get a list of all the forums groupd by forum name, total...
  7. asfaw

    Form item insert

    I am new to Javascript. My question my question my be basic to most of you. I have a form to enter name and e-mail address. Name E-mail What I wanted to do is the following: 1. Give the user to be able to insert more one lines to add name and e-mail i.e. when the form opens, it has lets...
  8. asfaw

    MySQL password in PHP code

    I am not sure using md5 is correct in the code below: <?php $Host ="localhost"; $User = "root"; $Password =md5("secretl"); $DBName="NewDatabase"; $TableName="Feedback"; $Link = mysql_connect($Host, $User, $Password) or...
  9. asfaw

    Database connection - Help please

    I am able to connect to mysql but not to a database. This is the code I am trying to execute. <?php // Establish a connection to the MySQL DBMS $connection = mysql_connect("localhost", "root", ""); // Use the winestore database mysql_select_db("winestore", $connection); // Run a query...
  10. asfaw

    InnoDB Table Creation

    Does any one know why the sql command below does not work? CREATE TABLE ENROLLS (enrollmentID INT NOT NULL AUTO_INCREMENT, courseID SMALLINT NOT NULL, sectionID SMALLINT NOT NULL, studentID SMALLINT NOT NULL, grade SMALLINT, PRIMARY KEY(enrollmentID), INDEX(courseID), REFERENCES...
  11. asfaw

    MyODCB 3.51 and DSN-Less Connection

    I am using Micorosoft Access 2000 as a fornt end and MySQL as a back end. I hope someone may be help me to clarify the following: Q.1. Where do I specify cursor location to be adUseClient Q.2. Where do I specify cursor type to be adOpenStatic Q.3. Where do I specify lock types to be...
  12. asfaw

    Dynamically Link MySQL Tables at Runtime using MS Access

    Hello everyone, While I was reading Access Cookbook by Ken Getz, Paul Litwin & Andy Baron found a code that allows user at log-in time to Dynamically Link SQL Server Tables at Runtime. I modified the code hoping it will work for MySQL too. I am getting the following error: 3170: Couldn’t find...

Part and Inventory Search

Back
Top