Search found 53 matches

by shiranwas
Tue Aug 08, 2006 1:53 am
Forum: PHP - Code
Topic: check box
Replies: 4
Views: 307

check box

hi,, in my html page there is a check box <input type="checkbox" name="chkRejected" value="CHECKED"> when i get the value of this as follows it gives me the value even its checked or not how i get the value if its checked only or do a function if its checked only $rejec...
by shiranwas
Mon Aug 07, 2006 6:39 am
Forum: PHP - Code
Topic: post problem with dynamically created option buttons
Replies: 1
Views: 124

post problem with dynamically created option buttons

hi,, i have a php page whih adds some data to a table from a database, in the table first column when the data adds it will be a option button with the value of the batabase field. the table is creating fine but when i submit the value of the option button to anoter php page with post the value is n...
by shiranwas
Mon Aug 07, 2006 6:29 am
Forum: PHP - Code
Topic: calling a php function within a html form
Replies: 1
Views: 148

hi , i hope the following code will help u <body> <?php include ("Conn.php"); function fromName(){ $str="Select fromName from tblFrom"; $query=mysql_query($str) or die("Can not query the table."); while ($row=mysql_fetch_assoc($query)){ $arrfromname[] = $row; } foreach ...
by shiranwas
Fri Aug 04, 2006 7:24 am
Forum: PHP - Code
Topic: Fatal error: Call to undefined function: mssql_connect() in
Replies: 4
Views: 1901

hi, i tried <?php echo 'mysql extension loaded: ', extension_loaded('mssql') ? 'yes':'no'; ?> echo 'mysql extension loaded: no i do not understand what was there in the link u given to me Installation The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini. To get these functions...
by shiranwas
Fri Aug 04, 2006 6:46 am
Forum: PHP - Code
Topic: Fatal error: Call to undefined function: mssql_connect() in
Replies: 4
Views: 1901

Fatal error: Call to undefined function: mssql_connect() in

Hi,, Fatal error: Call to undefined function: mssql_connect() in c:\apache\htdocs\complaints\Conn.php on line 5 when i trying to commect to MSSQL2000 I get aboue error message, what is the error with my code, <?php $username = "sa"; $password = "admin"; $server= "SOFT_7"...
by shiranwas
Thu Aug 03, 2006 11:10 pm
Forum: PHP - Code
Topic: problem text
Replies: 1
Views: 180

problem text

hi, what i really want is the value i got form the query, to show in a html page with existing text control called txtLastName this is my html document <html> <body> <form method="POST" action="complaintrdata.php"> <input name="txtJobno" type="text" style=&quo...
by shiranwas
Thu Aug 03, 2006 10:54 pm
Forum: PHP - Code
Topic: retrieving
Replies: 4
Views: 319

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] hi, it di...
by shiranwas
Thu Aug 03, 2006 8:03 am
Forum: PHP - Code
Topic: retrieving
Replies: 4
Views: 319

hi,

my coding is working, but i do not know how to show retrieved data
in existing html controls(text box)


thanx
by shiranwas
Thu Aug 03, 2006 7:42 am
Forum: PHP - Code
Topic: retrieving
Replies: 4
Views: 319

retrieving

this is what i want //here i want to show the values i got from the query ,in the HTML page ('complaintrdata.htm') where it has 2 existing text boxes one named as 'subject ' and other named as 'personname' <?php $jobno=$_POST['txtJobNo']; include('Conn.php'); $sql="select * from complains where...
by shiranwas
Thu Aug 03, 2006 7:37 am
Forum: PHP - Code
Topic: retrieving display
Replies: 2
Views: 237

this is what i want <?php $jobno=$_POST['txtJobNo']; include('Conn.php'); $sql="select * from complains where jobno='$jobno'"; $result=mysql_query($sql) or die ("error"); if (!$result) { die ("Could not query the database: <br />". mysql_error()); } $row = mysql_fetch_a...
by shiranwas
Thu Aug 03, 2006 7:19 am
Forum: PHP - Code
Topic: retrieving display
Replies: 2
Views: 237

retrieving display

Hi,,

I am having a HTML page with 3 text fields

i know how to retrive corrosponding values if some one entered a text to the first text field using PHP
BUT i do not know to show in existing text fields the values i retrived from the query .

please help me

thanx

shiran
by shiranwas
Thu Aug 03, 2006 2:28 am
Forum: Javascript
Topic: submit problam
Replies: 2
Views: 397

thanx

hi,

THANK YOU. its working as the way i want

shiran
by shiranwas
Thu Aug 03, 2006 2:22 am
Forum: Javascript
Topic: submit problam
Replies: 2
Views: 397

submit problam

Pimptastic | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi,...
by shiranwas
Wed Aug 02, 2006 11:07 pm
Forum: PHP - Code
Topic: post problem
Replies: 1
Views: 197

post problem

hi, can anyone help me on this prob, when i post the value of the gender option it won't come properly. what is the problem. <body> <?php if ($_POST['summary']=='Summary'){ include('Conn.php'); $sql="select * from call_details"; $result=mysql_query($sql); if (!$result){ echo "No recor...
by shiranwas
Wed Aug 02, 2006 7:37 am
Forum: Javascript
Topic: Button
Replies: 2
Views: 585

Thanx

its working as i wanted,

thanx a lot