Jump to content

rich11

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rich11's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello I have created two div layers. The first layer are going to be populated from a database. 10 People, and when I click on the items the will have information like office hours, phone numbers, and so on. And I want to show a div layer with that information and then they can close the div layer or just click on another person and show that info in the div layer. Not sure how that second div gets populated from the database??? Do I call to the database when I click on the persons name and pass the id of the person??? I am really lost on this one. Rich
  2. Ok cool... so this class I have to install on the server???
  3. I saw where you could download this class.... but I didn't see the code??
  4. Yeah.. I read that one... couldn't make any sense of it though...
  5. Good Morning, I have a php Intranet, and what I would like to do is hit the Active Directory and bring back the Username, FirstName and Lastname from Active Directory and set them to variables, so I can either display them or insert them into a database. A few things to consider, php is installed on the server, but I don't have access to the server to change any settings. This is just a side project and we are blowing up the existing intranet and going with a Content Management System, so the easier the better. Thx, Rich
  6. Hello, I just found out that access doesn't like some reserved letters like ' $ and so on. I was wondering if someone hand some javascript that will remove these reserved symbols from a memo box before inserting into access. THx, Rich
  7. yes.. I just google that error that is what I read.. thank you for your help. It was much appreciated. Rich
  8. I have changed my insert statement to this.... $query = odbc_exec($conn, "INSERT INTO rich(Question1) Values('$answer')") or die (odbc_errormsg()); This is the error msg I get... [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
  9. Well that is the problem... I know that the code hits this line... /* error */ echo "Whoops"; Because "Whoops" is displayed in the browser. But I don't get errors. Say like in ASP or Coldfusion displayed on the screen. I have tried using IE, Netscape and Firefox. I wish PHP would kick errors, but is doesn't or do I not ahve the browsers set up right? Rich
  10. Hello, I am having problems with this insert statment and I can't see what I am doing wrong. Thx, Rich <?php // This opens the connection $conn=odbc_connect('eeras','',''); // Checks to see if connection was opened if ($conn) { // Connection was opened echo "yepper"; } else { // Connection Failed echo "Nope!"; } // global variables $answer1 = $_POST["ques1"]; $sql = "INSERT INTO rich(Question1) Values('$answer1')"; $result=odbc_exec($conn, $sql); /* check for errors */ if (!odbc_exec($conn, $sql)) { /* error */ echo "Whoops"; }
  11. For some reason.. it is not picking up the javascript. It just goes to the next page. Here is the code for the start of my form. Do you see any mistakes?? <form method="post" name="form" action="eerasinsert.php" onSubmit="anyCheck(this.form)"> Rich
  12. Do you know of any good Javascript where i can get some code for that?
  13. Ok.. I know that is getting off topic. But if I have 7 check boxes, and I only want them to answer two of them. Is there anyone way of doing that?? Rich
  14. Dude... THat was sweet!!!!!!!!! Worked like a charm. SO what is the significant of the period?? RIch
  15. Hello, I was wondering how I set variable with two variables coming from a form and I would like to seperate them with a comma. I understand how to set a variable. $totaltext = "hello my friend!" ; I want to take these two variables from a form and put them together in one variable seperated by a comma echo $_POST["C1"]; echo $_POST["C2"]; $totaltext = echo $_POST["C1"] "," echo $_POST["C2"]; I know that is not the syntax, but I tried it and it didn;'t work. Thx, Rich
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.