Search found 11 matches

by Magicman0022
Thu Aug 04, 2005 7:08 am
Forum: PHP - Code
Topic: Passing variables in the URL with php
Replies: 1
Views: 247

Passing variables in the URL with php

I need to pass variables across from page to page.

I am considering passing them via the URL. WHat is the code that I need to do this and retrieve it at the end.

I am a total novice at php so any help would be appreciated.

Thanks
by Magicman0022
Wed Aug 03, 2005 11:13 am
Forum: PHP - Code
Topic: How do I send an email with php
Replies: 1
Views: 227

How do I send an email with php

I am looking for the simplest way to send an email in php. I'm specifically looking for the code.

Do I need to change my system settings in any at all.

I am a total novice to php

Thanx


A
by Magicman0022
Mon Aug 01, 2005 12:53 pm
Forum: PHP - Code
Topic: Php Cookies
Replies: 14
Views: 625

so do I just add a plus to my time variable ??
by Magicman0022
Mon Aug 01, 2005 12:50 pm
Forum: PHP - Code
Topic: Php Cookies
Replies: 14
Views: 625

just comes up as a blank screen so something isn't working write.

could it be that i dont have an up to date version of php or something.
by Magicman0022
Mon Aug 01, 2005 12:32 pm
Forum: PHP - Code
Topic: Php Cookies
Replies: 14
Views: 625

Tried that and it still doesn't work.

I'm sure the cookie is being set but I just cant seem to call it in my new page. Anyone have any ideas.
by Magicman0022
Mon Aug 01, 2005 12:24 pm
Forum: PHP - Code
Topic: Php Cookies
Replies: 14
Views: 625

Still not working must be doing something wrong.

It still isn't working I set up this little bit of code as a test.... Please have a look and tell me whats wrong wit it. <?php $Module = 'CMT911'; setcookie ("module",$Module,86400); php?> <html> <head> </head> <body> &a...
by Magicman0022
Mon Aug 01, 2005 12:00 pm
Forum: PHP - Code
Topic: Php Cookies
Replies: 14
Views: 625

Php Cookies

I am having real trouble implementing a cookie in one of my webpages and calling it up in my next. Can someone please tell me the code needed to create a cookie called Module that holds a variable $Module and then show me how to call up that cookie in another page and allow me to use that variable i...
by Magicman0022
Fri Jul 29, 2005 11:15 am
Forum: PHP - Code
Topic: Login Script Help
Replies: 4
Views: 389

Tried to implement what you said but it didn't work... Help

Thanx for the pointers, I took on your advice and constructed this set of code. Unfortunatly It stilldoesn't work. When the page executes the session is not recognised and gets forced to my StudentErr1 page. I cant seem to pass over the session correctly because if I register the session in the code...
by Magicman0022
Fri Jul 29, 2005 9:27 am
Forum: PHP - Code
Topic: Login Script Help
Replies: 4
Views: 389

Login Script Help

I am very new too php and am just experimentting with a very simple php login script. The code is below. I dont understand what code to put at the top of each secure webpage to make sure that the session is still logged in. I'm pretty sure that this should be very simple. With my code below could an...
by Magicman0022
Thu Jul 28, 2005 11:01 am
Forum: PHP - Code
Topic: Background colour of table.
Replies: 2
Views: 223

Background

I am a total novice. How do I know if I am using CSS. The relevant code that I am using is produced below. <table> <tr> <td> <pre> <?php //convert field values to md5value and escape any quotes. $Module = ($_POST['Module_Code']); //open database connection $connection = mysql_connect ("xxxxxxxx...
by Magicman0022
Thu Jul 28, 2005 8:49 am
Forum: PHP - Code
Topic: Background colour of table.
Replies: 2
Views: 223

Background colour of table.

Just starting out in the world of php, so this is probably a pretty simple problem I have a simple php script that calls up data from a mysql database and displays it in my webpage. However when it displays the infomation it does so on a white background. The rest of my website has a specific backgr...