How can we retain the values for textarea, radio buttons, check boxes, select option drop down etc in a form? Because when we press the back/forward buttons the values are lost.
Your help is highly appreciated. Thanks in advance.
Best regards,
Amir
How can we find width and height of an image file being uploaded, I am using the following code:
<?php
require_once ('conn_db.php');
if (isset ($_POST['submit']))
{
for ($i=0; $i <= 3; $i++)
if ($_FILES['photo']['name'][$i] != '')
if(move_uploaded_file($_FILES['photo']['tmp_name'][$i]...
i need to display two html tables vertically like this:
---------------
| table 1 |
---------------
---------------
| table 2 |
---------------
but in the browser they are showing horizontally like this:
-------------- --------------
| table 1 | | table 2 |
--------------...
How can we pass value of $x php variable embedded in html form section to php section (or form process section)?
The simple version of the code (register.php) is as follows :
<?php
//php section
if (isset ($_POST['submit']))
{
$emal_addr = $_POST['emal_addr'];
echo "$emal_addr"...
The code below is written to display jpegs on abc.com of the type:
is.100.jpg to is.110.jpg
<?php
for ($i=100; $i <= 110; $i++)
echo "<img src=\"http://www.abc.com/is.\"$i\".jpg>";
?>
but it only shows the red x instead of the image.
What can be done to fix this problem?
Your help is highly...
Hi All,
Is there a way of running a desktop application (.exe) file on the system startup without showing up on the screen and task bar and system tray.
Your help is highly appreciated.
Best regards,
Amir
Using the select element in html/php/js how can we narrow down the values another drop down.
For eg if we have to select a country in the parent drop down the values in the child drop down should populate automatically lets say state/province.
Do we have to resubmit the page or if we can use...
To upload/save image on MySQL DB I created the following table:
CREATE TABLE test_pic
( name varchar (30), photo varchar(30) );
and to upload and save an image file in MySQL DB I wrote the following code in addpic.php file:
---------------------------------------------------------
<?php...
I have two computers with the following attributes:
Linux: 210.168.10.3
Windows: 210.168.10.2
Both ping each other just fine.
but on Windows in IE when I say:
http://210.168.10.3/phpinfo.php
it gives: "The page cannot be displayed" error
on Linux (210.168.10.3) itself it works both ways...
hello,
i need to know how can i display data from database using drop down.
in other words, i have to create a drop down using select-option and depending upon the choosen value i need to display the values in the row using select query.
Your help is highly appreciated.
I have a file base.php, which is calling a file compose.php using:
include ('compose.php');
compose.php is a form with just two fields, which roughly as follows:
---------------------------------------
<?php
if (isset ($_POST['submit']))
{
// validation checks
// and database...
I cant see the place where we minimize different windows, I can see the panels, but the panel for windows is blank, (although there are two panels, one for menus), but the panel for windows remains blank, no matter how many windows are open maybe by mistake i clicked somewhere which made it to...
Hello,
My question is, how can we make Bootable CDs for Fedora 5?
I am running Fedora 4 and following exactly the same instructions on fedora.redhat.com to burn the CDs/DVDs for Fedora 5, it burns the CDs but it just does not boot up.
What should I do. Your help is appreciated.
Thanks,
Amir
The following code has a javascript function commalrt() instead giving the alert it echos: javascript: commalrt() in the window how can i invoke the javascript fn from php
The Code is:
<html>
<head>
<script language="javascript">
function commalrt() {
alert ('You forgot to enter...
I need your help, in regards to how to receive values of different variables using $_GET and $_POST in the same form.
I am actually working on a website, in which there is a small form.
The form is getting a value "order_number" from another web page "A" using $_GET method.
The same form...
The following Code is giving the following Error/notice "Undefined index" in the text box f_name ... kindly help me:
-----------------------------------------------------------------------------
CODE:
1 <?
2
3 if (isset ($_POST['submit']))
4 {
5 $message = NULL;
6
7 if (strlen...
Hi,
Does data go to the DBWR when the INSERT is issued?
or
Does it go when any DML or SELECT is issued?
Kindly give me a web link where I can read the processes of DBWR and LGWR in detail and understand with the help of visual diagrams.
Thanks
Amir
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.