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]...
by the way guys it does not show in title bar which was the orginal question... it only shows up in the address bar... thats also only with firefox/opera not with IE
so the original question still remains???
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 |
--------------...
In fact I already tried with the hidden field but it was not working now I tried with $_SESSIONS, both ways its not working.
Vacunita can you kindly give a sample coding, maybe maybe I am doing something wrong. Although I have been working on C and Oracle since more than ten years, so I am...
Actually $x contains randomly generated numbers which is displayed in the form, so I cant generate it in the php section.
According to you in this situation if we generate it earlier in the php section then the value of $x changes in the form after submit is pressed.
The random numbers are...
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"...
I did the the following:
echo "<img src='http://www.abc.com/is." . $i . ".jpg'>";
but its still giving red x's, can you please tell me what mistake am i making here?
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
Thank you so much both replies make real sense to me. I am really sorry i forgot to mention that i need to pick data from mysql db.
So its a combination of html/php/js and mysql.
If it's possible to give me one working eg code that would be great.
Regards,
Amir Khan
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...
Thanks jpadie and sleipnir
i guess its the matter of an entry in php.ini: upload_tmp_dir
on my local machine its value is c:\php\uploadtemp
but on the www.writers4u.com it is "no value"
so I will have to talk to the web host.
But can you tell me is there a way I can store the web pages of...
i found the file in /etc/httpd/conf/httpd.conf
but what is the name of the parameter i am looking for.
I went through the contents of the file and found good things but could not find anything in particular related to the requests other than itself.
or if elsewhere kindly let me know
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.
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.