Re: [PHP] Re: php and print

2004-10-12 Thread Harlequin
PROTECTED] Harlequin wrote: Bruno I'm still rather new to PHP so I use client side Java: you are not using java you are using javascript. [CODE] !-- Print Page -- pClick Here To Print This Page: a href=javascript:window.print()img src=../images/Icon_Printer.gif border=0 alt=Print This Page/a/p

[PHP] Query Returning Error

2004-10-13 Thread Harlequin
Morning all. this is such a basic question I'm embarrassed to ask but the query worked fine a few minutes ago and now returns an error: I get an error: Parse error: parse error, unexpected '=' in sample.php on line 2 [CODE] // Authenticate User: Query01 = SELECT * FROM Users WHERE

Re: [PHP] Query Returning Error

2004-10-13 Thread Harlequin
Doh...! thanks mate. -- - Michael Mason Arras People www.arraspeople.co.uk - Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 13 October 2004 15:32, Harlequin wrote: this is such a basic question I'm

[PHP] Match Vs Where - Fulltext Search

2004-09-28 Thread Harlequin
Hi all. It took me some time to discover that you can't use a MATCH | AGAINST statement unless you create an fulltext index of the fields to search at the same time. Strange, I know. What's more strange is that as I read more I wonder why people use it because it will only seartch complete

[PHP] Re: simple date/now() question

2004-09-29 Thread Harlequin
I gave up with the timestamp feature because although it's accurate it's not English and needs to be reworked to make it presentable. Despite finding code to do this I still moved on to using a date\time stamp using the US format of-course and this echoes much easier and will of-course be

[PHP] Searching My Database

2004-09-29 Thread Harlequin
Morning everyone. I've read around the subject of searching and although using the FULLTEXT capability of MySQL might be the proper way of doing this I feel it's somewhat limited and have decided to use a simple select procedure. I'm sure there's a better way of doing this, as I'm quite new to

[PHP] TAB Syntax

2004-06-29 Thread Harlequin
I know I'm probably going to get flamed for this but it is only a development site but I am having some trouble getting the syntax right for using the tab when echoing information. My current command is: print_r(Host: $hostbrUser: $userbrPassword: $password); I've tried: print_r(Host:

[PHP] Re: TAB Syntax

2004-06-30 Thread Harlequin
...? -- - Michael Mason Arras People www.arraspeople.co.uk - Lars Torben Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: I know I'm probably going to get flamed for this but it is only a development site but I am having some trouble

[PHP] Re: TAB Syntax

2004-06-30 Thread Harlequin
. -- - Michael Mason Arras People www.arraspeople.co.uk - Lars Torben Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: Cheers Lars. So, for example, if I wanted to display some plain text tabbed I'd use: echo prestring1\tstring2

[PHP] MySQL QUERY Results Not Appearing

2004-06-30 Thread Harlequin
Hi all... Despite being able to make a connection to the server and execute a query I am unable to do this through PHP using the following commands: echo h3active members should appear here/h3; $query = SELECT * FROM RegisteredMembers; $result = mysql_query($query) or die (could not execute

[PHP] Re: MySQL QUERY Results Not Appearing

2004-07-02 Thread Harlequin
($query)){ echo $result['YOUR_DB_FIELDNAME']; } change YOUR_DB_FIELDNAME' to whatever the fields are you are querying. you could also: pre ?php print_r($result); ? /pre HTH Craig Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all... Despite being

Re: [PHP] MySQL QUERY Results Not Appearing[Scanned]

2004-07-02 Thread Harlequin
* from members; if(!$result = mysql_query($sql)) echo mysql_error(); while($row = mysql_fetch_array($result)) { echo $row['column_name']; } HTH, Michael Egan -Original Message- From: Harlequin [mailto:[EMAIL PROTECTED] Sent: 30 June 2004 12:42 To: [EMAIL PROTECTED

[PHP] MySQL Results Not Being Commited To Database

2004-07-03 Thread Harlequin
I've managed with a lot of help to get the PHP pages to echo the results of what a user put into a User Registration page. However, I'm still having trouble getting the code right to actually commit the data on the Registered page that the Register page points to. Can anyone help...? Code

[PHP] Re: MySQL Results Not Being Commited To Database

2004-07-03 Thread Harlequin
. -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've managed with a lot of help to get the PHP pages to echo the results of what a user put into a User Registration

[PHP] Sending Mail Using PHP MySQL

2004-07-03 Thread Harlequin
Hi again. New Hour, New Problem. I'm using the following code to user user input from a form on a previous page to send mail confirming registration: $To = $NewUserMail; $Subject = Welcome To Arras People's Registered Members Area; $Message = $NewUserID, \n\nWelcome to the arras People

Re: [PHP] Sending Mail Using PHP MySQL

2004-07-03 Thread Harlequin
until the next is part of that variable. Since there's not a ; after the second , you are getting the error. -- jason everett -- [EMAIL PROTECTED] -- http://twocannons.com On Sat, 3 Jul 2004 23:03:51 +0100, Harlequin [EMAIL PROTECTED] wrote: Hi again. New Hour, New Problem. I'm using

[PHP] User Logon Procedure Fails

2004-07-04 Thread Harlequin
Another day another problem. This time it appears that users are able to enter their details but I get a query execution error with the following section of code: /* Verify Login */ $sql = SELECT UserFirstName,UserID,UserPassword FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]';

Re: [PHP] Re: Obtain NT Logon

2004-07-04 Thread Harlequin
Martin John is right. I have used this facility with VB, VBA and VBS but not in PHP. However, the principle is the same. Disable anonymous logins and use the code John is suggesting and it should work a treat. I'd recommend outputting this data to a TXT file or MySQL dbase also. --

[PHP] Unable to retrieve value from database and echo on screen

2004-07-04 Thread Harlequin
I know, I know. Simple stuff to you guys, but I am learning more every day and believe me - I won't be recommending Bill's software for web development from now on :) /* Select User's First Name From Table */ $sql = SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]';

[PHP] MySQL Database Connection Question

2004-07-08 Thread Harlequin
I have a user registration form that asks new users to register. However, Do I post the MySQLconnection string in the page they are completing or in the later page that the data is posted to, or both...? -- - Michael Mason Arras People www.arraspeople.co.uk

[PHP] User Redirection if login fails

2004-07-08 Thread Harlequin
Hi again. My code simply asks for a username and password but even if they insert incorrect details the called page is displayed. How can I get them to be redirected to another page if their login information is incorrect...? echo ph2registerd users login here please.../p/h2; echo form

[PHP] PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
Hi all I've created a page that allows registered users who have previously registered and been entered into the database to login. However, for some reason if a user login fails my code does not display the appropriate error message. Ideally I would like the users to be redirected to another

[PHP] Retrieving Database Data For Users To Edit

2004-07-09 Thread Harlequin
Hi again. I'm currently trawling through PHP and MySQL forums and web pages trying to find some starting point for the above. In essence what I want to do is once a user is logged in (which I have cracked) display their information for them to edit. Such things as user's password, some text

[PHP] Re: PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
{ unset($do); $message = The Login Name you entered does not exist! Please try again.br; } -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all I've

Re: [PHP] Re: PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
Thanks Jason. I think that's where I was falling down with this one. -- - Michael Mason Arras People www.arraspeople.co.uk - Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 09 July 2004 18:37, Harlequin

[PHP] Retrieving Data To Edit

2004-07-09 Thread Harlequin
This is really confusing and I'm sure very simple to achieve. I already have values selected that I want to open and edit: $sql = SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'; I basically want to recall these values on screen for the user to edit themselves. Once I've

[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Harlequin
- Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is really confusing and I'm sure very simple to achieve. I already have values selected that I want to open and edit: $sql = SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'; I basically want

Re: [PHP] Retrieving Data To Edit

2004-07-09 Thread Harlequin
Yes and thanks very much for the post. I've been trying to use some of the examples on that site but just can't seem to get it to work right. I've posted a reply to my own thread below I'd really appreciate any input you can provide. -- - Michael Mason Arras People

[PHP] PHP Include not Working Correctly

2004-07-09 Thread Harlequin
Hi all. in a desperate effort to whittle down my code I decided to use an include statement in my webpage: http://www.arrasresources.co.uk But the include statement: ?php include Header.inc; ? Brings in the correct file but not an images referenced in the CSS file, just the background and

[PHP] Login Verification

2004-07-10 Thread Harlequin
Hi everyone. I have a quick question regarding the above. currently I have a form that posts to another page. However, rather than wait until they get to that page to verify their login are there conventions that are recognised for this process currently...? For example, my code for the form's

Re: [PHP] Login Verification

2004-07-10 Thread Harlequin
the pudding but I'd like it to be slick that's all. -- - Michael Mason Arras People www.arraspeople.co.uk - Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 11 July 2004 03:47, Harlequin wrote: I have

[PHP] Re: Login Verification

2004-07-10 Thread Harlequin
Jason, John, Tim, Eric. Thanks for your patience. Which along with persistence is it's own reward :). I got it working OK and am reasonably happy with the results. -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin

[PHP] UPDATE...

2004-07-10 Thread Harlequin
Hi again. I know I should be in bed but if I leave this I'll just go mad...! I have a page that successfully calls data from the database based on userID Password combo. No Problems there eh... I display the information in a form, the user is supposed to be updating this information and then

Re: [PHP] UPDATE...

2004-07-10 Thread Harlequin
- Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 11 July 2004 08:20, Harlequin wrote: I have a page that successfully calls data from the database based on userID Password combo. No Problems there eh... I display the information in a form, the user

Re: [PHP] UPDATE...

2004-07-10 Thread Harlequin
:33, Harlequin wrote: I'm hitting the submit button at the bottom of the page and getting redirected OK to the next page with no errors but when I query the database directly it isn't updating. Should you be getting errors if there is a problem? IOW *are* you putting in any error checking

Re: [PHP] UPDATE...

2004-07-10 Thread Harlequin
www.arraspeople.co.uk - Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 11 July 2004 09:00, Harlequin wrote: I did as you suggest and I get a rather generic response: Sorry, Your Request Could Not Be Executed: You have an error in your SQL syntax

[PHP] Passing Variables

2004-07-11 Thread Harlequin
I'm just working on my syntax for passing a variable UserID from one page to the next and it works a little like this so far: On my form I have: form action='updated.php?UserID=\$UserID\... The URL posts: http://...load.php?UserID=JDoe; And when I echo the $UserID on this page I get: Code: ?php

[PHP] Re: Passing Variables

2004-07-11 Thread Harlequin
Thanks Tim. Solved the problem. -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm just working on my syntax for passing a variable UserID from one page

[PHP] PHP and HTML Conventions

2004-07-12 Thread Harlequin
Hi all. I just wondered if the general convention was to use entirely PHP and simply encase HTML TAGs within that or use a mix and simply use PHP TAGs when required. -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Harlequin
. -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. I just wondered if the general convention was to use entirely PHP and simply encase HTML TAGs within that or use a mix and simply use PHP TAGs

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Harlequin
is there a HTML equivalent of the PHP include statement then...? -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. I just wondered if the general

[PHP] Session Variables ~ Best Practices

2004-07-13 Thread Harlequin
I'm right in the middle of developing some pages that will require session cookies. Now I have a few questions and hope I don't bore you too much... I presume I am right in assuming that I can declare variables anywhere I like providing I have started a session on the page but I cannot actually

[PHP] MCAL Function

2004-07-14 Thread Harlequin
It appears that PHP can create on-pine calendars...? I'm looking for tutorials but no joy. Can anyone point me in the right direction...? -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP General Mailing List

[PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Harlequin
I am using PHP sessions for my site. Have done the numbers and have to agree that although cookies make life easier for the developer the whole reason for cookies is to make life easier for the browser. We have to accept that not all users can interrogate a cookie download and verify if the site

Re: [PHP] Session Variables ~ Best Practices

2004-07-14 Thread Harlequin
thanks Jay. -- - Michael Mason Arras People www.arraspeople.co.uk - Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I am also wondering if I need to declare all my variables one after the other or can I

[PHP] Re: MCAL Function

2004-07-14 Thread Harlequin
OK, OK on-line...! -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] It appears that PHP can create on-pine calendars...? I'm looking for tutorials but no joy

[PHP] Re: MCAL Function

2004-07-14 Thread Harlequin
I'll have a look at that Torsten, thanks. Can a user create their own entries then...? -- - Michael Mason Arras People www.arraspeople.co.uk - Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin [EMAIL

[PHP] Re: MCAL Function

2004-07-14 Thread Harlequin
in message news:[EMAIL PROTECTED] Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'll have a look at that Torsten, thanks. Can a user create their own entries then...? I guess you'll have to create the admin frontend/backend yourself. The package is mostly for presenting

[PHP] Using SSL and PHP

2004-07-16 Thread Harlequin
Hi everyone. We've recently decided to move all our PHP pages to an SSL server. Can anyone give any advice on any caveats I should be aware of...? -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP General Mailing List

[PHP] Echoing Results in a Table

2004-07-16 Thread Harlequin
I've managed to develop a query which pulls a finite number of records from a table based on a query. What commends do I now use to present these results in a table...? -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP

Re: [PHP] Echoing Results in a Table

2004-07-16 Thread Harlequin
People www.arraspeople.co.uk - John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: I've managed to develop a query which pulls a finite number of records from a table based on a query. What commends do I now use to present

[PHP] Populating a Dropdown Menu From a Query

2004-07-16 Thread Harlequin
Another day another conundrum. I have a form where one option is a dropdown menu. I'd like that menu to only have items in it that are actually available. Selecting the items with a query is easy enough but I wondered if anyone could tell me where to start wit the code. Am I using a for each

[PHP] Book Required

2004-07-17 Thread Harlequin
Morning There's loads and loads of books available on the subject of PHP MySQL. Does anyone have any recommendations...? -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP General Mailing List (http://www.php.net/) To

[PHP] Problem Stuffing Variable Value into an E-mail

2004-07-17 Thread Harlequin
I've generated a page where the user selects and completes a form. One of these is a free text area with the name TXT_Question. this is used later as $Question = $_Post['TXT_Question']; but for some reason when I send this in an e-mail like so: \nUser has selected eventID:\t$EventID \nAnd

[PHP] Emtying Variables

2004-07-17 Thread Harlequin
What's the best way of emptying my variables once my form has done with them because although I disconnect from the database if the user refreshes the screen it sends another e-mail to me. -- - Michael Mason Arras People www.arraspeople.co.uk

[PHP] Re: Problem Stuffing Variable Value into an E-mail

2004-07-17 Thread Harlequin
yeah. I should have noticed that. Thanks again Torsten :) -- - Michael Mason Arras People www.arraspeople.co.uk - Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin [EMAIL PROTECTED] wrote in message

[PHP] Re: Emtying Variables

2004-07-18 Thread Harlequin
...! -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What's the best way of emptying my variables once my form has done with them because although I disconnect from

[PHP] Re: old guy newbie needs some help

2004-07-18 Thread Harlequin
Bob. New myself but have started reading around sessions and found that you need two things enabled at the server end: track_vars trans-sid and bruce is right - you need to make sure the session_start command is immediately after the opening PHP tag. -- - Michael

[PHP] Using and Echoing Session Variables

2004-07-18 Thread Harlequin
Hi everyone. A few quick pointers if you have time... I've created a session, easy enough: ?php session_start(); ? I've created variables: $_SESSION['UserID'] = UserID; $_SESSION['Authorised']=yes; $_SESSION['logname'] = $logname; When a user clicks a link to a test page I created the following

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Harlequin
news:[EMAIL PROTECTED] Harlequin wrote: Hi everyone. A few quick pointers if you have time... I've created a session, easy enough: ?php session_start(); ? I've created variables: $_SESSION['UserID'] = UserID; $_SESSION['Authorised']=yes; $_SESSION['logname'] = $logname; When

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Harlequin
- fine. But the FurtherComments variable simply echoes FurtherComments even though there's a database field called FurtherComments. Strange one... -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Harlequin
, - Tul Harlequin wrote: Hi everyone. A few quick pointers if you have time... I've created a session, easy enough: ?php session_start(); ? I've created variables: $_SESSION['UserID'] = UserID; $_SESSION['Authorised']=yes; $_SESSION['logname'] = $logname; When a user clicks

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Harlequin
. -- - Michael Mason Arras People www.arraspeople.co.uk - Jason Barnett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: OK, so here's my conundrum... After verifying the user and pulling all fields from the record I

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Harlequin
People www.arraspeople.co.uk - Jason Barnett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: So If I needed say 10 session variables all based on field values in the database I'd have to execute 10 separate queries and assign each variable

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Harlequin
PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: Jason Would there be anything wrong with using an include statement at the top of every page and the include page could then start a session, execute queries etc or would the session not start as it's not the first line

[PHP] PHP Form Field Validation

2004-07-18 Thread Harlequin
Evening. Just wondering if there's a quick and easy way to validate form fields using PHP. Not really that concerned with actual content by using REGEX but want to ensure users have at-least bothered to put something in and if not display an error with the form field's name maybe. Any

[PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Harlequin
What the hell have I done this time...? Well, more to the point - what gave I missed...? if ($_SESSION[Authorised]=Yes); { // Body ~ Verified User: echo brbrbr; echo pThank you $UserCName, Now please just provide the following information and your aProfile will be loaded.; } else -

[PHP] Re: Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Harlequin
I figured it out. Got the semicolon at the end of that first line. Doh...! -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What the hell have I done

Re: [PHP] PHP Form Field Validation

2004-07-18 Thread Harlequin
in message news:[EMAIL PROTECTED] Harlequin wrote: Just wondering if there's a quick and easy way to validate form fields using PHP. Not really that concerned with actual content by using REGEX but want to ensure users have at-least bothered to put something in and if not display an error

[PHP] Re: Online Office Suite integrated w/ PHP

2004-07-19 Thread Harlequin
Daryl. What's the project goal...? -- - Michael Mason Arras People www.arraspeople.co.uk - Daryl Meese [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I'm looking for suggestions on what open-source office suites

[PHP] Parse Error, Unexpected $

2004-07-19 Thread Harlequin
I've checked my syntax but obviously missing something. Would anyone mind a quick scan: // Convert Values to Variables: $Title = $_POST[Title]; $ChristianName = $_POST[ChristianName]; $MiddleName = $_POST[MiddleName]; $Surname = $_POST[Surname]; $HomePhone = $_POST[HomePhone];

Re: [PHP] Parse Error, Unexpected $

2004-07-19 Thread Harlequin
]; This (and the rest of the post fields) should have quotes: $Title = $_POST[Title]; (php looks for a constant named Title, instead of the string Title) What line gives you the parse error? On Mon, 19 Jul 2004 11:10:09 +0100, Harlequin [EMAIL PROTECTED] wrote: I've checked my syntax but obviously

Re: [PHP] Parse Error, Unexpected $

2004-07-19 Thread Harlequin
Thanks Jason. I've started doing that - damn well have to with nested IF statements. -- - Michael Mason Arras People www.arraspeople.co.uk - Jason Barnett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] But the error

[PHP] Stuffing those damn values into their fields...!

2004-07-19 Thread Harlequin
OK. So here we have on the submission form: input type=hidden value=$_SESSION['logname'] name=Hidden It echoes fine, so I know it's there. When I go to the target page it echoes fine there also and doesn't return an error. But more strangely, it doesn't perform the update I request:

[PHP] Re: Parse Error, Unexpected $

2004-07-19 Thread Harlequin
Really sorry for taking up so many people's time on such a small issue. -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've checked my syntax but obviously

[PHP] Re: Login Script

2004-07-20 Thread Harlequin
Brian I am developing a members area for our website and have chosen to use session cookies. Easy stuff really. No need for Pear, downloaded files to the client PC etc. -- - Michael Mason Arras People www.arraspeople.co.uk - Brian

[PHP] Re: Discussion Forum Online Chat

2004-07-20 Thread Harlequin
I've been looking around also and other than PHPbb didn't find anything I liked. There are developers out there that will do the work but that defeats the purpose of learning a language I think. Hope you have some look. -- - Michael Mason Arras People

[PHP] Unable To Gain Access to phpMyAdmin Through Internet Browser

2004-07-21 Thread Harlequin
Hi All. I'm hoping someone can help here because my Hosting provider's technical support haven't got a clue. I am unable to get into my phpMyAdmin area using Internet explorer. I'm challenged but cannot get in. I've tried: domain name FTP username and password the MySQL username and password

[PHP] Re: change value of session variable?

2004-07-21 Thread Harlequin
My understanding of session variables Five is that you can write and re-write on the fly. I know from using VB that this is true and I am assuming that it is true of PHP. However, you may need to Empty the variable first Five. Hope that helped. -- - Michael Mason

[PHP] Re: Unable To Gain Access to phpMyAdmin Through Internet Browser

2004-07-22 Thread Harlequin
- Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All. I'm hoping someone can help here because my Hosting provider's technical support haven't got a clue. I am unable

[PHP] Re: editor for remote files using ssh

2004-07-24 Thread Harlequin
I use HTML-Kit which highlights syntax for a number of languages, PHP included. I am unsure of its ability to connect using SSL but it's very customisable when creating a new remote folder and I use it to work on remote files all the time. It simply creates a connection if needed and saves the

[PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Harlequin
I've been working on a query to retrieve a user's data based on their UserID that is stored in a variable $_SESSION['logname'] which underneath I convert using: $UserID = $_SESSION['logname']; But when I execute a SELECT query: $CaptureDetails = SELECT * FROM RegisteredMembers WHERE UserID =

[PHP] Usng Session Vaiable in WHERE Statement

2004-07-26 Thread Harlequin
Could someone please help me with my syntax here...? $MembersDataQry = SELECT * FROM MembersData WHERE UserID='$_SESSION['logname']'; I get an error on line 2 but can't seem to figure out what I've missed. The variable echoes fine so I know there's a string in there. --

Re: [PHP] Creation of MySQL Database Using PHP

2004-07-26 Thread Harlequin
Marek thanks very much. -- - Michael Mason Arras People www.arraspeople.co.uk - Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: Hello. I have a friend who knows less than me about PHP

[PHP] Retrieve The Last Record in a Table

2004-07-26 Thread Harlequin
I would like to retrieve the last entry in a login table and present that to a user so they can verify the date we have when they last logged in. Is this possible...? -- - Michael Mason Arras People www.arraspeople.co.uk - -- PHP

Re: [PHP] Retrieve The Last Record in a Table

2004-07-27 Thread Harlequin
PROTECTED] wrote in message news:[EMAIL PROTECTED] as mentioned already, use a column in the table to order the query and then use LIMIT to only to return one record. Best columns to use would be an auto_increment or a datetime field type. Jason On Mon, 26 Jul 2004 18:27:25 +0100, Harlequin

[PHP] Verifying AUthorised Users through Session Variables not Working...?

2004-07-27 Thread Harlequin
Hi all. I'm using session variables to identify if a user is authorised, if yes - display x and so on. However, I've come across a couple of issues: when users access a page that's 2 folders deep into the root I.e. www.mydomain.com/folder1/folder2 any include references I use have to be

[PHP] Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Harlequin
Hi all. I'm trying to retrieve values from a previously selected dropdown menu. For text I simply use value=$Whatever But for dropdowns I can't do this - has anyone else come across this before...? -- - Michael Mason Arras People www.arraspeople.co.uk

[PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Harlequin
www.arraspeople.co.uk - David Robley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 28 Jul 2004 20:49, Harlequin wrote: Hi all. I'm trying to retrieve values from a previously selected dropdown menu. For text I simply use value=$Whatever But for dropdowns I

[PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Harlequin
I ended up with this: option selected?php echo $Variable; ?/option Can you see any obvious problems I might miss.? -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
Afternoon... I have a table generated by some code that returns certain field values and drops them into a table. On of these values is ID and I'd like to convert it to a hyperlink that people can use to go to another page to view further information about a record. However: The fields are not

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
RTFM...? -- - Michael Mason Arras People www.arraspeople.co.uk - Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I have a table generated by some code that returns certain field values and drops them into a

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
I know. Just wondered if Jay had the courage of his convictions. -- - Michael Mason Arras People www.arraspeople.co.uk - John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: RTFM...? AKA : Read

Re: [PHP] Conversion of Field Value to Hyperlink OT

2004-07-29 Thread Harlequin
Jay I am new. we all are at something at some point or other in our lives. If you don't like me fine - just ignore me. If you want to help, that's fine also. Just be polite. You don't need to swear to get your point across and don't need to be aggressive as either method implies a lack of

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
Mmmm... Interesting Jay. Maybe I'll just WTFM mate :) -- - Michael Mason Arras People www.arraspeople.co.uk - Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I have a table generated by some code that

[PHP] Re: Replace a button by an image

2004-07-30 Thread Harlequin
Henri. I prefer to use CSS for things like this but I'm sure PHP has it's own idiosyncrasies. I checked out the site posted in response to your post and personally thought the graphics were a bit ropey. typically CSS is used for replacing images or backgrounds on hover but is very flexible and

[PHP] Re: php coding software

2004-08-02 Thread Harlequin
Brad I use HTML-Kit for HTML, ASP, Java, CSS, PHP and MySQL. Free too :) -- - Michael Mason Arras People www.arraspeople.co.uk - Brad Ciszewski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know any good

[PHP] Unable to Destroy Session

2004-08-03 Thread Harlequin
Morning guys. I'm trying to destroy a session using session_destroy(); and I get the following error: Trying to destroy initialised session I simply want a user to click a logout button that destroys the session cookie. Am I doing this the right way...? -- -

[PHP] Re: Unable to Destroy Session

2004-08-03 Thread Harlequin
Sorted it. for some reason it was holding the session because I had two browser windows open which is the environment it will be used in by the users. strange though... -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin

[PHP] Query Results Question

2004-08-03 Thread Harlequin
I have the following query which should return just two rows: SELECT 'ID', 'Vacancy Role', 'Vacancy Salary', 'Vacancy Location', 'Vacancy Type' FROM vacancy_details WHERE Publish = 'Yes' As only two rows have Publish set to Yes. yet even if I execute the query through phpMyAdmin I get two

  1   2   >