GetDotted Domains

Viewing Thread:
"Quicky PHP question"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Wed 12/03/03 at 00:39
Regular
Posts: 787
I've asked this before, but can't find the topic.

I've just formated my Hard Drive, and installed all the things I have to run a Server on my machine, for testing sites and scripts, etc.

The problem now is PHP doesn't pass Variabes from page to page, so submiting forms or adding them onto the ends of addresses doesn't work anymore, and I'd like to know what I have to change to allow this to work again.

I know it's something in the PHP.ini file, but I can't remember which item I'm supposed to alter in order to make the Variables work.

Thanks in advance for anyone who can jog my memory :)
Tue 25/03/03 at 19:04
Regular
"It goes so quickly"
Posts: 4,083
I forgot '-' wasn't good syntax for SQL .... stupid thing :)
Tue 25/03/03 at 18:12
Regular
"It goes so quickly"
Posts: 4,083
Don't suppose you can see anything wrong with this line:

$Results = mysql_query("SELECT * FROM Error-Log", $Connection) or print "Error for Results.";

Every time, I get the Error message rather than the actual connection

As far as I can see, it's correct syntax. Any ideas?
Tue 18/03/03 at 18:22
Regular
"It goes so quickly"
Posts: 4,083
Laugh, chuckle, its all the same isn't it :)
Tue 18/03/03 at 18:17
Regular
"Eff, you see, kay?"
Posts: 14,156
Heh, I don't laugh.

I just manically chuckle.

;-)
Tue 18/03/03 at 16:15
Regular
"It goes so quickly"
Posts: 4,083
I have no problem with you knowing it that well :)

It means you get to correct (and laugh) at my stupid mistakes :)
Mon 17/03/03 at 23:52
Regular
"Eff, you see, kay?"
Posts: 14,156
Heh. Knowing the PHP manual that well can't be healthy for me, heh.
Mon 17/03/03 at 16:41
Regular
"It goes so quickly"
Posts: 4,083
nl2br(); does the job, thanks :)
Mon 17/03/03 at 14:46
Regular
"Eff, you see, kay?"
Posts: 14,156
Or you could just use nl2br() :-D
Mon 17/03/03 at 14:41
Regular
"Devil in disguise"
Posts: 3,151
cjh wrote:

> Do you know how to detect a carrage return is in the sent data, so I
> can replace it with a > displayed, the carrage returns remain (Like they do in this Forum).

You mean something like

$data=ereg_replace("\n","
",$data); ?
Mon 17/03/03 at 11:17
Regular
"It goes so quickly"
Posts: 4,083
:) Simple, yet effective, thanks.

Just one more question though, if you don't mind :)

Do you know how to detect a carrage return is in the sent data, so I can replace it with a

or
tag in the file, so once it is displayed, the carrage returns remain (Like they do in this Forum).

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.
Everybody thinks I am an IT genius...
Nothing but admiration. I have been complimented on the church site that I manage through you and everybody thinks I am an IT genius. Your support is unquestionably outstanding.
Brian

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.