[PHP-WIN] for loop help!

2003-04-03 Thread Kieran Hall
I want to display information from my database in two columns. I run into a problem when there are three records. Another table data cell is produced containing template material. Does anyone know a quick solution to this problem? Code below: $cols = 2; $cell_count = 0; if($numrows < $cols){

[PHP-WIN] replace ../ with actual url

2003-03-27 Thread Kieran Hall
src=../"; $replace[0] = "src="$base_url/"; $replace[1] = "src="$base_url/"; I need the regular expressions! Any help and additional advice would be brilliant. Thanks, Kieran Hall

[PHP-WIN] user system using sessions and cookies?

2002-12-04 Thread Kieran Hall
ername: Password: Session ID:95a607dc349f91b2a08c8533538b8694 Clearly, the login returns true and the session id has been used, but the password and username have not been registered. I have been playing around with this for a while now, and am a little stuck. Any help would be brilliant. Thanks in advance. Kieran Hall

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Kieran Hall
Try using a javascript with your php to create a redirect redirect: document.location.href="<?PHP echo $url ?>" Hope this is useful. Kieran Hall -Original Message- From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 22:43 To: [EMAIL PROTECTED] S

[PHP-WIN] Number of bytes in a field?

2002-10-02 Thread Kieran Hall
Does anyone know of a way to get the number of bytes from a mysql field? * Kieran Hall *

RE: [PHP-WIN] re-initiating a sesion

2002-08-25 Thread Kieran Hall
I know how to start the session, that isn't the problem. I want the session to continue when the user returns. My question is really: Should I save the session Id in a cookie? And if I should, the browser seems to need refreshing (IE6). Kieran Hall -Original Message- From:

[PHP-WIN] re-initiating a sesion

2002-08-25 Thread Kieran Hall
). Any thoughts on the most effective way to do this? Kieran Hall