User Profile
Collapse
-
get the recently modified files in a folder
How can I get the path of files in a folder which are updated most recently? -
It is not working.
page.php does not print anything.... -
How to pass value of a nachor tag
I want that when a user click on a link The value of the anchor tag should pass on to yhe next page.
suppose there is a tag like this:
<a href="">Click Here</a>
I want that 'Click Here' should be stored in a variable.
How can I do this? -
how can image be uploaded
I want that a user can upload his image .
How can his image be stored in the database and can be retrieved from database? -
It is not working. It show this error
Warning: PostgreSQL query failed: ERROR: parser: parse error at or near "'" in /web/train06/myphp/ex.php on line 14. What is the problem?
How to display the table names?...Leave a comment:
-
how to read tables from database
I have to get all the table names that exist in a particular database in pgsql and print it in a html page.
How can i do this? -
I have a table in a database which has a column 'serialnum' . I have created a php to insert values into the table. Now I want that when a user open that form a number is automatically generated in the textfield of serial number and if there is already a entry in the table the number next to that entry is generated in the textfield.
How can I do this?...Leave a comment:
-
how to generate a number in a textfield automatically
I want that in the number textfield a number is automatically generated, and If there is a number in the table of the database the next number is generated in the number textfield.
How can I do this? -
You can try this after connecting to the database
[HTML]<input name="select">[/HTML]
[PHP]$connection=pg_ connect("host=f asfd dbanme=gfd user=fda");
$myresult= pg_exec($connec tion, "select field_name from table_name");
for ($lt=0, $lt<pg_numrows( $myresult); $lt++){
$var=pg_result( $myresult, $lt, column_name);
echo "<option>$var<o ption>";...Leave a comment:
-
I dont mean that. I had created a table in database which has code no. and title of that code no. Now I had called the code no. in a drop down list. I want that when a user select a code no the title correspoding to that code displays in the title field. how can i do this?...Leave a comment:
-
how to generate a title automatically
i have created a drop down list that has the code no. of a subject. now i want that after a user select a code no the title corresponding to that code no. will automatically displayed in the title field.
How can i do this ? -
It is not working.
How can I pass tee variable in different scripts?
Please help!Leave a comment:
-
variable cannot be passed to multiple pages.
i have designed a login page like this:
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Electric al Engineering Dept IITK</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">... -
-
I m asking that how to make each table cell an input field. please give a small example related this....Leave a comment:
-
-
if it will work it will display the information in a table but I want that information to be displayed in a textfield so that I can edit and update it.
If u can help it then please reply soon....Leave a comment:
-
dynamically displaying all the contents of table
I had made a table in a pgsql database which has 4 columns and 4 rows. now I want to display the data of the table in textfields . My table is like this
userid username fname lname
123 anuragpj anurag johari
223 anu anu verma
254 qewdh dqkjh jdnaj
444 hari dfjhj jhdasnb
I m using this php... -
this is my validate.php
[PHP]<?php
$passwords = array("ajohari" =>"anurag",
"knaveen" =>"naveen",
"anu" =>"anu");
if ($password == $passwords[$username]){
//setcookie("user name", $username, time()+1200);
header("locatio n:/myphp/profile.php");...Leave a comment:
-
this is my login.php
[PHP]<?
session_start() ;
$user=$_post['username'];
$_session['username']=$user;
?>
<title>Electric al Engineering Dept IITK</title>
<body bgcolor="#99CCF F">
<form name="form1" method="post" action="../myphp/validate1.php">
<p> </p>
<p> </p>...Leave a comment:
No activity results to display
Show More
Leave a comment: