AJAX | JavaScript | HTML | PHP Answers

Questions: 323

Answers by our Experts: 213

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

hello, i have to make project on php n need help in this plz tell where should i start my project?tittle of my project is "railway reservation "...
I am opening one div on one function call. I want to hide that div when user clicks outside it,and show it again as I was showing it through function call.
I am calling one javascript function on, onclick event. the result I get is the text box. I have list of options and for each option I want to have seperate textbox. but currently I am getting the resultant textboxes in one horizontal line. how can I align them? for each option.?

Following is the code.


Javascript:

function showSelected(val, selectedResult2,selectedResult3,selectedResult4,selectedResult5,selectedResult6,selectedResult7,selectedResult8,selectedResult9,selectedResult10,selectedResult11,selectedResult12,selectedResult13){
document.getElementById(selectedResult2).innerHTML = " " + val;
document.getElementById('selectedResult','selectedResult2','selectedResult3','selectedResult4','selectedResult5','selectedResult6','selectedResult7','selectedResult8','selectedResult9','selectedResult10','selectedResult11','selectedResult12','selectedResult13').innerHTML += " <input type='text' value='' size='5' style='height:10px; margin-bottom:5px;'/>";


HTML:

<div id='selectedResult' style="height: 20p
does anyone see anything wrong with this code?

local wW = platform.window:width()
local wH = platform.window:height()
local Blink = false
local Clr = 0
local Clg = 0
local Clb = 0
timer.start(.01)

function on.paint (gc)
gc:setColorRGB(0, 0, 0)
gc:fillRect(0, 0, wW, wH)
gc:setColorRGB(Clr, Clg, Clb)
gc:drawRect(0, 0, wW - 1, wH - 1)
end

function on.timer

if Blink == false then
Blink = true
else
Blink = false
end


if Blink == true then
Clr = 0
Clg = 255
Clb = 0
else
Clr = 255
Clg = 0
Clb = 0
end

platform.window:invalidate()
end
i want total database value on array loop but wht i do mistake i dont know please help me (without query)

<?php

include("db.php");

$result = mysql_query("SELECT FROM trasur_com_pk");

while ($test = mysql_fetch_array($query)) {

$Sno = $test['Sno'];
echo "<tr align='center'>";
echo"<td><font color='black'>" .$test['Sno']."</font></td>";
echo"<td><font color='black'>" .$test['Transporter']."</font></td>";
echo"<td><font color='black'>". $test['Vehicle']. "</font></td>";
echo"<td><font color='black'>". $test['Loaded_Product']. "</font></td>";
echo"<td><font color='black'>". $test['Tonnage_loading_Point']. "</font></td>";
echo"<td><font color='black'>" .$test['Tonnage_Unloading_Point']."</font></td>";
echo"<td><font color='black'>" .$test['PSA_number']."</font></td>";
echo"<td><font color='black'>" .$test['Shipment_Date_PSA']."</font></td>";
echo"<td><font color='black'>" .$test['Loading_Origin']."</font></td>";
echo"<td><font color='bla
Write PHP scripts to illustrate the following:-

1. Display Current Month/Day /Date.

2. Change background color based on day of the week using if else statement.

3. Greet the user either by good Morning, Good Afternoon or good Evening after verifying the time.

4. Develop a web page for online course registration with the following details:
i. Name, age, Phone number, email ID : Text Box
ii. Country, Education : Drop Down Box
iii. Gender : Radio Button
And submit to the next page, which displays all the details of the registered candidate.

please can you write all these 4 questions in PHP script Program.
Write PHP scripts to illustrate the following:-

1. Display Current Month/Day /Date.

2. Change background color based on day of the week using if else statement

3. Greet the user either by good Morning, Good Afternoon or good Evening after verifying the time.

4. Develop a web page for online course registration with the following details:
i. Name, age, Phone number, email ID : Text Box
ii. Country, Education : Drop Down Box
iii. Gender : Radio Button
And submit to the next page, which displays all the details of the registered candidate.

IMPLEMENT USING PHP/MYSQL

5. a) Create a database and some tables
b) Insert Some Values into Table
c) Update particular field
d) Select all or specific values from the table and display using Web Browser
e) Alter the table name
f) Delete the table from the database
Write PHP scripts to illustrate the following:-
1. Display Current Month/Day /Date.
2. Change background color based on day of the week using if else statement
3. Greet the user either by good Morning, Good Afternoon or good Evening after verifying the time.
4. Develop a web page for online course registration with the following details:
i. Name, age, Phone number, email ID : Text Box
ii. Country, Education : Drop Down Box
iii. Gender : Radio Button

And submit to the next page, which displays all the details of the registered candidate
i want to writer Javascript function that creates an array of the months of the year, accepts a range of numbers (31 - 42) and alerts the corresponding month of the year in the array.
how can I create a webpage that creates a moveable information block that can be dragged & dropped on the page and it represents data that was submitted from a php form on a different page?
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS