[PHP-DB] I am new to PHP

2004-04-14 Thread andy amol
Hi. This is the qmail-send program at pb1.pair.com.I'm afraid I wasn't able to deliver your message to the following addresses.This is a permanent error; I've given up. Sorry it didn't work out.[EMAIL PROTECTED]:ezmlm-manage: fatal: I don't accept messages at this address (inlocal and/or

[PHP-DB] I am new to PHP

2004-04-14 Thread andy amol
Hi, I have a problem with the second file. I am not able to update the data from the php program. Any help on that would be appreciated. Any modification which would be reduce the code like directly using the Update command would be appreciated. thanks in advance. Here are the 3 files.

[PHP-DB] Hi I am new to PHP

2004-04-15 Thread andy amol
I have posted my problem at No: 33892 of this mailing list. I have received 1 reply. No: 33897 My exact problem with second file is as follows: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 15 Can you help me to solve problem, any help would be

[PHP-DB] Hi I am new to PHP

2004-04-15 Thread andy amol
Hi, I have a problem with the second file. I am not able to update the data from the php program. Any help on that would be appreciated. Any modification which would be reduce the code like directly using the Update command would be appreciated. thanks in advance. My exact problem with

[PHP-DB] Basic Doubts

2004-04-16 Thread andy amol
hi, I want to know the following things. 1. How can we maintain referential integrity (rather check) using PHP Any example code will be helpful. 2. I want to display the column of the tables, how to do that. 3. I want to align the text and the text box on the page. 4. I also want to

[PHP-DB] Regular Expression

2004-04-18 Thread andy amol
Hi, I would like to test whether a given sting contains only character, it should also support spaces. eg Course Book String. I am able to test CourseBookString. Also I would like to know how can we avoid wild chars like *, or any other char apart from alpha numeric char. Thanks.

Re: [PHP-DB] Re: Regular Expression

2004-04-19 Thread andy amol
the previous form, so it clears all the values. Any help in appreciated. Thanks in advance. bye. Kelly Hallman [EMAIL PROTECTED] wrote: Apr 18 at 11:01pm, Andy Ladouceur wrote: Andy Amol wrote: I would like to test whether a given sting contains only character, it should also support spaces. eg

[PHP-DB] Drop-down box in php

2004-04-20 Thread andy amol
hi, I would like to know how to create and populate drop down boxes in php. I want the value to be populated from database. What I am try to do is to provide the forign key value as combo box option, so that I do not have to check for referential integrity. Thanks in advance.

[PHP-DB] Drop-down box in php

2004-04-20 Thread andy amol
hi, I would like to know how to create and populate drop down boxes in php. I want the value to be populated from database. What I am try to do is to provide the forign key value as combo box option, so that I do not have to check for referential integrity. Also if you can help me with a

Re: [PHP-DB] Drop-down box in php

2004-04-20 Thread andy amol
)) { $type = $row[course_id]; $typedesc =$row[dept_id]; $option_block .= OPTION value=\$type\$typedesc/OPTION; } ? SELECT name=selecttype id=selecttype ? echo $option_block; ? /SELECT thanks. John W. Holmes [EMAIL PROTECTED] wrote: From: andy amol I would like to know how to create

[PHP-DB] How to display table columns

2004-04-25 Thread andy amol
hi, I want to display the table coulumns along with those values below it. I am only able to display the table values, now I want to diplay the corresponding table attribut above the value. eg : name age sex abc1m xyz 2f I want to

[PHP-DB] login script

2004-04-26 Thread andy amol
hi, does anyone have a login script which will take data from the table and decide whether the given user is a admin or a normal user. thanks in advance. Also if there is some help on session variable I would like to know. - Do you Yahoo!? Win