Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17







HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

Share tech news, updates, or what's on your mind.

Sign up to Post


I have an Order HTML page where a User can enter data into fields.  On Submit PHP file is used to write the data to SQL Tables called Orders and Orders_details.

Currently, when l test this I'm getting the below error.
Below is my PHP file:
If you need table structures I can provide these too.

The line error is highlighted below.

<meta charset="utf-8">



  /* Set oracle user login and password info */
  $dbuser = ;  
  $dbpass = ;  
  $db = ;
  $connect = oci_connect($dbuser, $dbpass, $db);

   /* Display connection error if fails */
  if (!$connect)  {
    echo "An error occurred connecting to the database";

  //Extract CGI variables
  $productitem = $_POST['productitem'] ;
  $price = $_POST['price'] ;
  $quantity = $_POST['quantity'] ;
  $firstname = $_POST['firstname'] ;
  $lastname = $_POST['lastname'] ;
  $address = $_POST['address'] ;
  $phone = $_POST['phone'] ;
  $email = $_POST['email'] ;
  $creditcard = $_POST['creditcard'] ;

  // count the record in orders table and use id number $count+1 for the new record
  $query_count = "SELECT max(ID) FROM Orders";

  echo "SQL: $query_count<br>";

  /* check the sql statement for errors and if errors report them */
  $stmt = oci_parse($connect, $query_count);

  if(!$stmt)  {
    echo "An error…
On Demand Webinar: Networking for the Cloud Era
LVL 10
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.


I have the below search field in my HTML file.

This is connected to a PHP file on Submit.

If the User clicks on 'Search' only, without entering any data, I want all data to be displayed.
Currently, it will only display data it you enter at least one character.

Here is my SQL Select Query within my PHP file.

$query = "SELECT * FROM Products WHERE regexp_like(Title,'$book_name','i')";

I'm simply trying to make a webpage that we use to monitor our servers, I want the data in 2 frames, 1 fixed and the other rotating between pages in the list.  The initial load works but upon refresh the next page uses the full screen and not the full page.
I put this together using other peoples code I found online and tried to adapt it a little, HTML knowledge is low! Any help appreciated.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rotating Page</title>
<style type="text/css">
* {
html, body, iframe {
<script type="text/javascript">
var pages = new Array(); // this will hold your pages
pages[0] = 'www.pluralsite.com';
pages[1] = 'http://www.hardrocksd.com';
pages[2] = 'http://www.expertsexchange.com';
pages[3] = 'page4.html';
pages[4] = 'page5.html';
pages[5] = 'page6.html';

Can you please tell me how I go about setting a predefined price to appear in my 'Price' field when you choose a Product Item?

This is my current code:


            <legend>Order Book Details:</legend>
            <label for="productitem">Product Item:</label><br>
            <select name="productitem" id="productitem" autofocus/>
            <option value="selection">Make your selection from here ...</option>
            <option value="livewellonless">Live Well on Less</option>
            <option value="eatrealfood">Eat Real Food</option>
            <option value="mylifeitsalongstory">My Life, It's a Long Story</option>
            <option value="swordofsummer">Sword of Summer</option>
            <option value="clementineroseandthebirthday">Clementine Rose and the Birthday Emergency</option>
            <option value="middleschooljustmyrottenluck">Middle School: Just My Rotten Luck</option>
            <label for="price">Price:</label><br>
            <input type="text" name="price" onkeypress="return isNumberKey(event)" >
            <label for="quantity">Quantity:</label><br>
            <input type="text" name="quantity" onkeypress="return isNumberKey(event)" >
            Comments:<br><textarea name="comment">Please place your comment here ...</textarea>
Hello Experts,

This post is more or less to pick your brain about things/ideas I should implement into my current system. Basically, the only requirement for my system was turn my employer's paper-based car seat rental program into a paperless system.

Here are screenshots of my system:


(See attached PDF)

Right now, the system does the following:
  1. Presents the user (coworker) with a choice to either rent or return a car seat;
  2. Provides an inventory of any available seats (from a MySQL database);
  3. Generates a PDF version of our current rental agreement using FPDF;
  4. Emails the generated PDF to the renter and another department in my office (not implemented yet); and
  5. Presents the user with an HTML table in order to return any rented car/booster seats.

Being that I am a hobbyist php programmer, I am kind of in the dark when it comes to certain things. My career has nothing to do with programming, either. I enjoy PHP and took this task upon myself for fun.
Currently my wordpress icon are broken (refer top right).
Which file should I edit so that I can point to cloudflare's files?

Website at http://bit.ly/2xcHs7q

Current problem
Access to Font at 'http://XXX.org/wp-content/themes/Impreza/framework/fonts/fontawesome-webfont.woff?v=4.7.0' from origin 'http://www.lutaizhang.org' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value 'www.lutaizhang.org'. Origin 'http://www.lutaizhang.org' is therefore not allowed access.


I have just transferred my wordpress from another host. But some of the images (top right of the page) are broken. Can i know how to fix it? I can't seem to find the file path of them (not really good in coding) Thanks!

Website at http://bit.ly/2xcHs7q
I've got a form wizard with a form repeater and i need to validate a dropdown for each repeated form before accessing the next step. I've tried different solutions and managed to do the validation on the first form but it doesn't work for the repeated form. I hope someone can help me. Many thanks

You can see the html and javascript code in this fiddle https://jsfiddle.net/zwtj13wc/
Hello experts,

Here is my code:

<input type="checkbox" name="seat_rented[]" value="<?php echo $row['seat_serial'];?>">
$n = count($seat);
foreach($seat as $x) {
    $pdf-> Write(0, $x . ", ");

Open in new window

I only want to concatenate the comma when $n is >1. If $n equals 1, I want to concatenate a period. I can't think of the if or while statement to handle this...

Although I've moved forward I'm  Using the https://www.experts-exchange.com/questions/29053802/Javascript-Binding-data-after-clicking-OpenLayers-2-map.html as a start point I have a couple  of further questions

1 Why isn't the icons / markers blue I've tried using relative path and absolute but the  marker stays the default red
My point is I can't change the marker.

2 how do I ensure only 1 popup box is open at once
<!doctype html>
    <title>OpenLayers Click Event Example</title>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>    </head>
    <body onload="init()">
    <div class="wrapper">
        <div class="container">
        <h1 >OpenLayers Click Event popup</h1>
      <div class="container">

    <div id="mapdiv" style="width: 800px;height: 500px " ></div>
      <h2>Custom Data for clicked item</h2>
      <pre id="result"></pre>
    <script src="https://openlayers.org/api/OpenLayers.js"></script>
    <script type="text/javascript">
      //Set up a click handler
      OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {                
        defaultHandlerOptions: {
          'single': true,
          'double': false,
          'pixelTolerance': 0,
          'stopSingle': false,
          'stopDouble': false
        initialize: function(options) {
          this.handlerOptions = 

Open in new window

WordPress Tutorial 1: Installation & Setup
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Hello Experts,

Currently, my car seat return system looks like this:
Return Inventory
BUT, how would I accomplish something like this?
I want to query the necessary tables. I want to display the renters' information from the renters table and the car seats they've currently rented from the rental agreement table.

I have the following MySQL tables:
  1. Renters (which contains all of the renters' information)
  2. Car Seats (which contains all of our car seats, and is used in an inventory application)
  3. Rental agreement (which contains information from the car seats and renters table)

Here's how my tables are structured:


Car Seats:
Car Seats

Rental Agreement
Rental Agreement Structure
I need to align the menu at the bottom under manufactures in a way where it has a grid like pattern or at displays the names even.  As you can see the some of the names of the companies are longer than the others and it's making the grid uneven.

Thank you anyone who can help?!
Trying to find the simplest/best solution for a scrolling banner, right to left,  that i can control the speed.  I have 7 brand logos I want to display, horizontally, and would like them to be linkable.  Any suggestions?  I have been looking around, but nothing is quite what I am looking for.
I have a script that has an on state and off state that are represented by images. What I would like to have is a 3rd image  state that is displayed when the user hovers, to show that the images are clickable, currently there is a div that changes content depending on the image that is selected.

Here is the current script

<script type="text/javascript">
            var preIndex = 0;
$("#divNavigate .imgNav").click(function() {
  var ix = $("#divNavigate .imgNav").index($(this));
  $("#divContent .tab:eq('" + preIndex + "')").hide();
  $("#divContent .tab:eq('" + ix + "')").show();
  $("#divNavigate .imgNav:eq("+preIndex+")").attr("src","images/tab_"+preIndex+"_off.png");
$("#divNavigate .imgNav:eq("+ix+")").attr("src","images/tab_"+ix+"_on.png");
  preIndex = ix;

$("#divNavigate .imgNav:eq(0)").click();


Open in new window

Here's my html

        <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="Low">Low</asp:ListItem>
                        <asp:ListItem Value="medium">Medium</asp:ListItem>
                        <asp:ListItem Value="high">High</asp:ListItem>

Open in new window

I want to change font color of high to red but I don't see property to change it. Thanks
Hi - I have a table with default 10 rows and now i had a button to add 10 more rows, so when i click on that button new 10 rows must be appended to the table at the bottom.

The table has 4 columns
Label - simple label
integer - shows the count
dropdown - dropdown values to select

Now i wrote the javascript function for this as below but it has one problem
I am not able to assign unique id to each dropdown select - for example by default we have 10 rows so dropdown id fro those 10 rows are id1,id2,id3,.... id10
now when i click on add 10 rows button the new rows should have id's id11, id12, id13.... id20
so it depends on table length

function addDataRows(divname) {
   var tabObj = document.getElementById("detailTable");
var tableSize = tabObj.rows.length+1;
var strid = "id"+(tableSize+1);
   var newDiv=document.createElement('div');
   var html = '<select id = "<%=strid %>" ' + 
		'<option value="volvo">Volvo</option>' +
		'<option value="saab">Saab</option>' +
		'<option value="opel">Opel</option>' + 
		'<option value="audi">Audi</option>' + 
   newDiv.innerHTML= html;
function addLRows(divname) {
   var newDiv=document.createElement('div');
   var html = '<input type="text" name="firstname" value="Mickey" maxlength="40" size="64" ><br />';
   newDiv.innerHTML= html;
function add10rows(Container1, Container2){

Open in new window

need to put captions of the carousel below the image.
currently it comes on top of the image and does not look good.
please provide css to make the caption appear below the image in a horizontal div.
Access 2010  vba
Outlook 2010

I'm creating an email from Access :

i'm looping through an Access subform and getting values for the html table and displaying in the email.

strhtml = "<HTML><Body><table border='1' width='50%'><tr><th>Sku</th><th>PRODUCT_DESCRIPTION</th><th>QTY</th>" & _

' Initialize Mailbody
MAILBODY = strhtml

With rst
  Do While Not .EOF
        MAILBODY = MAILBODY & "<tr><td>" & rst("SKU") & "</td><td>" & rst("PRODUCT_DESCRIPTION") & "</td><td>" & _
        rst("QTY") & "</td><td>" & Format(rst("TARGET_PRICE"), "Currency") & "</td><td>" & Format(rst("COMPETITOR_PRICE"), "Currency") & "</td><td>" & _
        Format(rst("TARGET_GP"), "Percent") & "</td><td>" & Format(rst("CURRENT_PRICE"), "Currency") & "</td><td>" & Format(rst("CURRENT_GP"), "Percent") & "</td><td>" & Format(rst("VENDOR_GUIDELINE_GP"), "Percent") & "</td><td>" & Format(rst("APPROVED_PRICE"), "Currency") & "</td><td>" & Format(rst("APPROVED_GP"), "Percent") & "</td></tr>"
End With

Open in new window

What I need:
I need to change the cell for this particular part of the HTML Table

</td><td>" & Format(rst("APPROVED_GP"), "Percent")    

AND Make the cell Color Red and  display the value from the recordset as "XXXX"

Thanks Fordraiders

I have my CSS and HTML already set. I just want to add a drop down to one of the menu items. I am having a hard time making it work without messing up my whole menu. How can I just add the needed lines to my existing CSS and HTML to create a drop down? Below is my CSS and HTML. I want to add two items under "Gallery".

<nav class="menu">
                              <ul id="menu">
                                    <li><a href="#!/page_Evangelos">Evangelos</a></li>
                                    <li><a href="#!/page_Services">Features</a></li>
                                    <li><a href="#!/page_Gallery">Gallery</a></li>
                                    <li><a href="#!/page_Carvings">Byzantine Art</a></li>
                                    <li><a href="#!/page_Carvings">Sculptures</a></li>
                                    <li><a href="#!/page_Carvings">Carvings</a></li>
                                    <li><a href="#!/page_Contacts">Contacts</a></li>

.menu { float:right; padding-top:36px}
#menu > li { float:left; margin-left:30px; position:relative;}
#menu > li > a{ display:block; font:17px 'Asap', sans-serif; color:#fff; text-shadow:1px 1px rgba(0,0,0,.5)}
#menu > li > a:hover, #menu > .active > a{ }
7 Extremely Useful Linux Commands for Beginners
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

I 'd like to wrap this markup around an <a href?

<div class="medium-12 grid-content text-center">
                    <h3 id="personname" runat="server">Person Info</h3> >>> This line

Open in new window


My button don't work but alert work after success, what should I do ?

<!DOCTYPE html>
<html lang="fr">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/gif" href="img/drapeauBruxelles.gif" />
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/style.css">
    <title>Projet Map</title>
       #map {
        height: 600px;
        width: 90%;
    <div class="container-fluid bg-2 text-center">
      <h1 class="margin">Des Marqueurs Google Maps</h1>
    <div id="map"></div>
    <nav class="navbar navbar-default">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          <a class="navbar-brand" href="https://developers.google.com/maps/documentation/javascript/adding-a-google-map?hl=fr">My Google Maps</a>
        <div class="collapse navbar-collapse" id="myNavbar">
          <ul class="nav navbar-nav navbar-right">

            <li><button type="button" id="btn1">Fontaine d'eau</button></li>
            <li><button type="button" onclick="actionImmediate();">Fontaine d'eau</button></li>

Open in new window

I know the usual trick to add:

<!--   comments  -->

But this seems to only comment out aa single line.

What am I missing?

I am using studio press theme.  I added a custom link button called  "Careers" to the menu bar.  How do i modify it so it opens in new window?

beta site

screen shot
Hi experts, I want to pick some data on the table with an id="myTable" and put it to another div to form another table. My code below seems working but missed one of the data from the row since I want to make a group of two per row. I attached the html here to make it easy to understand for the experts. My goal here is to form a table on a div, a table that has two td per row. Base on the code i created there are 7 items available on the table so, i could not group them by two. Is there any other technique to achieve the goal? Please help.
Can you please tell me where the error is?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Scaffld.Models
    public partial class Employee

    public class EmployeeMetaData
        // Id property is hidden and cannot be changed
        [HiddenInput(DisplayValue = false)]
        public int Id { get; set; }

        // EmailAddress is read only
        public string EmailAddress { get; set; }

        public int? Salary { get; set; }

        public string PersonalWebSite { get; set; }

        [DisplayAttribute(Name = "Full Name")]
        public string FullName { get; set; }

        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime? HireDate { get; set; }

        [DisplayFormat(NullDisplayText = "Gender not specified")]
        public string Gender { get; set; }

Open in new window

Server Error in '/Scaffld' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific 

Open in new window







HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.