Hi,
Im currently working on a residential database and working on the 'delete resident' page. Everything works and the correct reisdent gets deleted as wanted. The problem I have is that when the page loads up all of the "else" statements such as "you have forgot to enter your surname" appears...
Hiya,
Ok I understand you know, got a bit confused then. What you have suggested does work. However it it wont allow me to delete a whole record based on two fields. Is there any way of doing this as I dont want the user to have to enter all of the fields in the where statement.
best regards
Hiya.
I would normally construct like that as well however dont you have to have the line "delete from table where field = value?
I might be wrong as im quite new to php interacting with mysql.
How would you construct it??
Best Regards
Hiya,
Currently I am having problems with deleting a complete record from a mysql db. The code below shows that I am requesting the user to enter four fields that will identify the record in the database. In total there are four more fields in each record however I dont want the user to...
Hiya,
The following script I am using as a login screen and it seems to work fine apart from where the user is meant to be sent to the surname.php page. Have I written this incorrectly?
Any advice would be great
Best regards
Code:
<?php # Scrtipt 6.6 - viewresidents.php
if...
Hiya,
The script below returns all of records stored in a mysql database and displays them in a table. The current table is displayed like the following:
Surname First Name Flat No etc etc etc
-----------------------------------------------------
record1data data data...
Hiya,
Below is a script that searches a mysql database and returns records based on the surname entered into the form. Currently when the records are returned they are displayed above the form. Is there anyway to have the records displayed underneath the form??
best regards
Code:
<?php #...
Hi all,
Im trying to create a simple script to search a mysql database and search by the surname of the entries. Ufortunatly I have tried this script in the browser and doesnt seem to work.
I have created a connect.php script which I know works and so I know that isnt the problem.
Could...
when I type in "rpm -qa | grep -i php"
I get:
php-pgsql-4.3.4-11
php-4.3.4-11
php-mysql-4.3.4-11
php-pear-4.3.4-11
php-ldap-4.3.4-11
php-odbc-4.3.4-11
so im guessing php is installed. Just need to get it configured now
regards
The apache was installed after the installation of fedora. As for the php there were no options to install it so im only guessing it might of been installed automatically.
Can I make the changes to the httpd.conf file like you said anywherew in the document or does it have to go in a particular...
Hi,
Im a first time user of linux and have just installed Fedora2. What I want to be able to do is design a html document with php contected to a mysql database. The problem I have is that when I try even the most simple strings of code for php like:
<?php
print ("test");
?>
when I run it...
Hi
Ive created a database in access and what I would like to be able to do is create a piece of code so that if it is open on a computer the user can not open a second copy of it.
Is this possible?
Regards
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.