[PHP] setting word wrap

2003-12-13 Thread PAUL FERRIE
Hi guys i wonder if someone could help me with this. http://thor.ancilenetworks.co.uk/~pferrie/vin/php/adm/ If you select table reviews and the press view database u will see that the text goes whey out to the right of the page making the bottom scrollbar kickin, this is not good. When i add a

Re: [PHP] setting word wrap

2003-12-13 Thread PAUL FERRIE
%testing/td That will help define the margins. Jim www.websitemanagers.net - Original Message - From: PAUL FERRIE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 13, 2003 3:22 PM Subject: [PHP] setting word wrap | Hi guys i wonder if someone could help me with this. | | http

[PHP] Change html links according to returned result

2003-12-11 Thread PAUL FERRIE
to acommidate the data being returned, this is fine. What my problem is: Here is the url to the admin area http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/index.html username: paul ferrie pass: admin the first 2 db's in the drop down menu are fine, it's the third and the fourth. I need

[PHP] Could some one check my code

2003-11-26 Thread PAUL FERRIE
i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file ?php include(connection.php); if(!empty($rating)){ $query=SELECT * FROM

[PHP] Textfields dont fully populate

2003-11-22 Thread PAUL FERRIE
Hello again guys This week i have been on here and made a few posts regarding a small admin site app http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html Most of it is now working thank god, but still have have problems fully populating the textfields when i go to edit a record.

[PHP] Re: Textfields dont fully populate

2003-11-22 Thread PAUL FERRIE
news:[EMAIL PROTECTED] Paul Ferrie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello again guys This week i have been on here and made a few posts regarding a small admin site app http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html Most of it is now

[PHP] Re: Textfields dont fully populate

2003-11-22 Thread PAUL FERRIE
Thank you Bas, i cant believe that once again it has been down to simple syntx cheers Bas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] b1.pair.com... Just change your code to: $result = mysql_query(SELECT * FROM $tablename WHERE id= $id)or die(brther was an errorbr

[PHP] Form with browse for file to upload ftp

2003-11-22 Thread PAUL FERRIE
Getting bit of a regular on here :) I am hoping that someone can point me to a script that allows me to attach a file to be uploaded to a set dir. I have already got the form built, except for a browse file option. The form is part of this admin area

Re: [PHP] Form with browse for file to upload ftp

2003-11-22 Thread PAUL FERRIE
']['name'])); $destination = 'path/to/where/you/want/the/file/saved/'.$name; if(move_uploaded_file($_FILES['file']['tmp_name'], $destination)) { echo 'Successful'; } else { echo 'Failed'; } } - Original Message - From: PAUL FERRIE To: [EMAIL PROTECTED] Sent

Re: [PHP] Form with browse for file to upload ftp

2003-11-22 Thread PAUL FERRIE
/want/the/file/saved/'.$name; if(move_uploaded_file($_FILES['file']['tmp_name'], $destination)) { echo 'Successful'; } else { echo 'Failed'; } } - Original Message - From: PAUL FERRIE To: [EMAIL PROTECTED] Sent: Saturday, November 22

[PHP] Re: Form with browse for file to upload ftp

2003-11-22 Thread PAUL FERRIE
Got it working :) thanks for the help Paul Paul Ferrie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Getting bit of a regular on here :) I am hoping that someone can point me to a script that allows me to attach a file to be uploaded to a set dir. I have already got the form

[PHP] $query works but i still get a returned error

2003-11-20 Thread PAUL FERRIE
I am not sure what the problem is here. The script runs and deletes the relevent row but still returns DATA from albums loaded row id 658 did not get sent Error deleting row! Warning: Cannot modify header information - headers already sent by (output started at

Re: [PHP] $query works but i still get a returned error

2003-11-20 Thread PAUL FERRIE
So your saying i should be using POST rather than GET? John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PAUL FERRIE wrote: I am not sure what the problem is here. The script runs and deletes the relevent row but still returns DATA from albums loaded row id 658 did

[PHP] setting a global var so that all pages can see var

2003-11-17 Thread PAUL FERRIE
Hello again guys, thanks for the help over the past 48 hours :) Over the past week i have had the job of tweaking the php pages of a friends site. so far so good :) Now i am onto the admin area for running the website. I downloaded one of the many db managers scripts from www.hotscripts.com

Re: [PHP] setting a global var so that all pages can see var

2003-11-17 Thread PAUL FERRIE
lol i not that feeling whaen it come to flash based questions ;) Cheers] Burhan Khalid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PAUL FERRIE wrote: Hello again guys, thanks for the help over the past 48 hours :) Over the past week i have had the job of tweaking the php

Re: [PHP] setting a global var so that all pages can see var

2003-11-17 Thread PAUL FERRIE
it up :( Please i need to get this working Cheers paul Burhan Khalid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PAUL FERRIE wrote: Hello again guys, thanks for the help over the past 48 hours :) Over the past week i have had the job of tweaking the php pages of a friends site

[PHP] Re: setting a global var so that all pages can see var still :(

2003-11-17 Thread PAUL FERRIE
How would i pass tablename in the submit button? Check out edit record u wil see http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html Cheers Paul Paul Ferrie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello again guys, thanks for the help over the past 48 hours

[PHP] newbie stuck again

2003-11-16 Thread PAUL FERRIE
Here's what i have done. i have downloaded a very simple database manager from www.hotscripts.com. It allows me to edit, delete and add new information to the database. i have a couple of problems. 1. form field dont fill with all the data senback from the db to be edited, as fars as i am

Re: [PHP] newbie stuck again

2003-11-16 Thread PAUL FERRIE
Yeh cheers derek i dint think it would be something like that :P Can u ilabirate more on the $query structure? cheers Paul Derek Ford [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PAUL FERRIE wrote: Here's what i have done. i have downloaded a very simple database manager from

Re: [PHP] newbie stuck again

2003-11-16 Thread PAUL FERRIE
Cheers Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 16 November 2003 23:17, PAUL FERRIE wrote: Please spend a little time to think up a descriptive and relevant subject heading. newbie stuck again does nothing to inform people of what your problem

[PHP] create dropdown menu from returned $result

2003-11-16 Thread PAUL FERRIE
What am i overlooking? ? include('common.php'); $result = mysql_list_tables(***_vinrev); $i = 0; while ($i mysql_num_rows ($result)) { $tb_names[$i]= mysql_tablename ($result, $i); echo SELECT NAME='$tablename'; echo OPTION VALUE=\.$tb_names[$i].\. $tb_names[$i]. /OPTION ; echo

Re: [PHP] create dropdown menu from returned $result

2003-11-16 Thread PAUL FERRIE
I am trying to create a drop down menu to set varaible $tablrname Cheers paul John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PAUL FERRIE wrote: What am i overlooking? The part where you tell us what you're actually trying to achieve... ? include('common.php

[PHP] Alternet row colors

2003-11-15 Thread PAUL FERRIE
Hello all I have been working on this website http://thor.ancilenetworks.co.uk/~pferrie/vinrev/index2.htm I did not design the site i have just been asked to tweak it My php knowledge is limited always learning something new. Anyways I have been trying to use a code that i got from

Re: [PHP] Alternet row colors

2003-11-15 Thread PAUL FERRIE
://www.weberblog.com/submit.php?type=storytopic=PHP_Web_Logs -Original Message- From: PAUL FERRIE [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2003 5:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Alternet row colors Hello all I have been working on this website http

[PHP] quick i need some help please

2003-10-01 Thread PAUL FERRIE
i have a admin section for a new site that i have built, to cut a long story short the submit form adds news stories to the site. For some reason behound me the php script is converting to a square. It is a flash based admin area not yet sure if this is an issuse, i just got the call :( the font

[PHP] Re: quick i need some help please

2003-10-01 Thread PAUL FERRIE
False alarm ! Paul Ferrie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i have a admin section for a new site that i have built, to cut a long story short the submit form adds news stories to the site. For some reason behound me the php script is converting to a square

[PHP] is this possible?

2003-09-27 Thread \[ PAUL FERRIE \]
Hi guys, I am have created several websites(flash) with admin areas so that the clients can update sections of there site. I have created a little admin section on my own site(yet to be published). there is a client login area for client who's site's i have built. Here they have the option to

[PHP] date conflict with old news archive

2003-09-23 Thread \[ PAUL FERRIE \]
God i hope this is simple :) I have news bloggs section on my site. At present the news is loaded in from a txt file, most of the site is now running with most sections being loaded via mysqldb's. I would like to add the old entries to the new db that i have setup for the bloggs. My problem is

Re: [PHP] date conflict with old news archive

2003-09-23 Thread PAUL FERRIE
Cheers your a star :) Eugene Lee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, Sep 23, 2003 at 09:01:19PM +0100, [ PAUL FERRIE ] wrote: : : God i hope this is simple :) It is. I think. :-) : I have news bloggs section on my site. At present the news is loaded

[PHP] simple query help

2003-07-05 Thread Paul Ferrie
Hi guys, I am working on a flash forum for my site. Came with the FOED book, anyways i am tyring to delete the threadCount by -1 from the db. could below does dlete the count but in multipules of 2. Anyone cheers $query = UPDATE forumForums SET threadCount = threadCount -1 WHERE forumID =

[PHP] simple flash php form, help please

2003-06-22 Thread Paul Ferrie
Hi again guys :) I am having problems with this little email user script for my website. I have set this script here to run with flash outputing the information. When i run the script in the browser i grt this error Warning: Failed to Receive in C:\apache\htdocs\innovat\forum\mailuser.php on line

[PHP] what can i store in the DB

2003-06-11 Thread - \[ Paul Ferrie \] -
Hi guys, I am not really an expert in this I just learn what I need to know when I need to know it. I am building a flash tutorials section for my site http://www.innovativedesigns.org.uk The section is my first real attempt at using php+mysql without having to check the books or reference files

Re: [PHP] what can i store in the DB

2003-06-11 Thread Paul Ferrie
- From: - [ Paul Ferrie ] - [EMAIL PROTECTED] To: Awlad Hussain [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 12:05 PM Subject: Re: [PHP] what can i store in the DB I did use www.mysql.com Search querystoring images, store image, image storing it didnt come back with very much, so

[PHP] flash and php (using the varibles)

2003-01-09 Thread - \[ Paul Ferrie \] -
Hi guys i hope there is someone in here that use flsah along with php to help with this :) Anyway i will make it simple. mysql returns a number say 123 i want flash to take this number to animate a progress bar, but here the problem it does work but the progress bar dosn't animate it just sets

[PHP] strange problem (user poll)

2003-01-08 Thread - \[ Paul Ferrie \] -
Can anyone see a problem in this? When i run the script i am getting this error Notice: Undefined variable: action in C:\www\Apache2\htdocs\user_poll\2\addpoll.php on line 13 ? // addpoll.php // Case Study 1: User Poll - Foundation PHP for Flash // If the form has been submitted... (line 13) if

[PHP] Re: strange problem (user poll)

2003-01-08 Thread - \[ Paul Ferrie \] -
Sorry guys ingore the post, i have narrowed the problem down to a problem with posting the vairables from flash. cheers - - [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can anyone see a problem in this? When i run the script i am getting this error Notice:

[PHP] $query help :(

2003-01-08 Thread - \[ Paul Ferrie \] -
Hi again guys i have run into another problem :( i am trying to build a user poll (flash+php+mysql) I have the interface all sorted but i have a problem with my add new poll php file. When i hit the update poll button in flash it seem that everthing has work and it' send back a msg saying all

[PHP] Re: strange problem (user poll)

2003-01-08 Thread - \[ Paul Ferrie \] -
It seem there is some probs with the latest release of php something about global vars. Jst checked and it works now. It was the php thing right enough. i hope that my server admin have done the same thing with the php.ini cheers guys. - - [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] php $query help

2003-01-06 Thread - \[ Paul Ferrie \] -
Here is my problem I have created a user login system (flash+php+mysql) And it just about works Here's the prob when i go to register as a new user the code wont properly check to see if the username already exsist's in the DB, I am pretty sure the problem lies in my first $query

[PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
hey guys could someone help me I have created a user login register system in flash with PHP and Mysql. Everthing Now works fine aprt from the time stamp of when the user registered. Code --- // Get current date time $time = time(); // Connects to the Database.

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
nope it still comes up with all the zero's :( Stephan Seidt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What sort of mysql field type did you use for dateAdded ? You need UNIX_TIMESTAMP (or sth like that) for unix timestamp format. - [ Pau

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tuesday 07 January 2003 00:19, - \[ Paul Ferrie \] - wrote: hey guys could someone help me I have created a user login register system in flash with PHP and Mysql. Everthing Now works fine a

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
So Is NOW() a mysql function? Stephan Seidt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... yep i guess that, so NOW() is a mysql function. - [ Paul Ferrie ] - wrote: So Jason what your saying is this $query = INSERT INTO contacts (

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
Well i am still getting all the zero's : ( : ( - Edwin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... - [ Paul Ferrie ] - [EMAIL PROTECTED] wrote: So Is NOW() a mysql function? Well, you can check for yourself ;) It should be s