Hi guys,
I am using PHP/PosgtreSQL....
I have a written a php script that displays a list of vehicles from a database..... my problem is I would like to display record details of a vehicle on a seperate screen when the user clicks on a required reg no. from a list?
CAN SOMEONE PLEASE HELP!
THANKS
Hi all,
I have written a script to update specific records in a psql database.......my problem is that every time i update a record, the updated records is shown at the bottom of the list on the web broswer.
How can keep the list in its original order after i update records?.........your help...
Hi all,
I am trying to display records from a psql database to the web browser, unfortunatly, it displays the following error message:-
Parse error: parse error in /home/httpd/business/customerlist.php on line 18
Here is my code:-
$db = pg_connect("host=larry port=4132...
hi all,
i'm new(ish) to postgres.......i am trying to insert a record in a database but it keeps returning the following error message:
ERROR: parser: parse error at or near "SELECT"
to insert i have used the following command at psql prompt:
INSERT INTO orders VALUES...
Hi all,
Using the code below, can someone please tell how i can sort the contents in reg. no order?
I have been given this code by a friend and i'm confused!
sub missinglist () {
my $msg='';
foreach my $comp (sort keys %dealers) {
$msg.="\nmissing photographs for...
Hi all,
i'm new to php/postgres I have some records in csv format. My question is how can i populate my PostgreSQL Database by taking info from csv (spreadsheet) files?
your help is greatly appreciated.
Hi all,
I have a text file containing records of vehicles, i would like to display these records on the web browser. My problem is the first line of the file contains the system date, how can i display the details without including the date line??
e.g. text file:-
09.46 02 2002 April
FORD...
Hi there,
I am trying to sort the contents of an array in date order...it sort of works! ....but the problem is when i include a new file it does not display it on top of list, also it displays 2 empty rows! (the list is within a form using checkbox)...the text files are saved as the date...
Hi all,
Can someone please tell me how i can display contents of a directory in date order? (ie. earliest dates & onwards). Here's my code:
$handle=opendir('results');
while (($file = readdir($handle))!==false) {
if ( $file >= $date) {...
Hi there,
For some reason i keep getting the following error message on my web browser, whenever i try to call a php file by submitting a standerd web form......Any idea what it means, its driving me nuts!!!
Fatal error: input in flex scanner failed in /home/httpd/html/sandalrugby/results on...
Hi all,
I'm having problems creating files using fopen and fputs function. I don't know how to create a file that use strings which contain variables........is it that possible???
here's my code:
$fp=fopen("results/$matchdate", "w");$string = "<td...
Hi all,
I am having trouble trying to delete unwanted files in a specific directory.
E.G. if i wanted the perl script to search a directory for all jpg photos that DID NOT have an HTML file associated with them and then delete those jpg photos:
/html - abc.htm, abc2.htm, abc3.htm...
Hi there,
I have only just started learning PHP, can someone please advice on how i have get a user to fill in a form and then automatically upload the text on to my website??
Is there any useful website out there that teach on this subject?
YOUR HELP IS MUCH APPRECIATED
Hi all,
I'm a novice programmer - i have noticed on some browser's my javascript random image rotator doesn't work!! ie netscape and older versons of expolorer.....
My question is using javascript how can i detect if browser supports javascript and if it doesn't, it then automatically disables...
Hi all,
(Perl) I know how to split and print a text file using commas(,) as seperators.
My question is how can i split and then print a text file which contains speech marks?? e.g.
John Smith, 17, 30 Lee St, "Hobbies include football, basketball, tennis, etc"
YOUR HELP IS...
Hi All,
Can someone please tell me is it possible to setup a login, password screen using Javascript to allow resticted access to my website???
Cheers.
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.