Forum: PHP Jul 5th, 2008 |
| Replies: 10 Views: 1,717 yep he is correct. try this code, must have been very tired last night when I played with this.
home.php
<?php
require ('config.php');
// session_start();
$user->session_begin();
... |
Forum: PHP Jul 4th, 2008 |
| Replies: 10 Views: 1,717 Try this:
home.php
<?php
require ('config.php');
// session_start();
$user->session_begin(); |
Forum: PHP Jul 4th, 2008 |
| Replies: 5 Views: 865 Great, I'm glad you got a work around for the time being. If you need any other assistance don't hesitate to ask. |
Forum: PHP Jul 4th, 2008 |
| Replies: 8 Views: 824 swatisinha.339, go post your advertising elsewhere please. I have reported all 18 of your posts to the mods and hope for an admin to delete your posts and ban your IP so you can not create another... |
Forum: PHP Jul 4th, 2008 |
| Replies: 7 Views: 712 one of his requirments was "free" |
Forum: PHP Jul 3rd, 2008 |
| Replies: 8 Views: 824 nice Shanti, works on my test server no problems.
make sure to create the new files sugested in the code above:
connection.php
success.php
also dont forget to create a folder on your server:... |
Forum: PHP Jul 3rd, 2008 |
| Replies: 10 Views: 1,717 Thank you for that.. post your code as well give me a link to your site so I can see what it is doing as well.
Thank you |
Forum: PHP Jul 3rd, 2008 |
| Replies: 5 Views: 865 Swefil:
Give this a try and let us know if it works for you:
http://www.smartform.com/ |
Forum: PHP Jul 3rd, 2008 |
| Replies: 10 Views: 1,717 yes, please post the code so I and others may look for a problem in the code itself. |
Forum: PHP Jul 2nd, 2008 |
| Replies: 11 Views: 2,696 no, he wants the page to reload with all the form fields filled in with the info that was entered only highlighting incorrect or missing fields.
when you fill out an application you fill in... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 11 Views: 2,696 sorry that link was for another post.
you need to look here:
http://www.evolt.org/article/Clever_forms_with_PHP/17/60143/index.html |
Forum: PHP Jul 2nd, 2008 |
| Replies: 11 Views: 2,696 try looking at this great example:
http://www.guidesandtutorials.com/dr...t_toolbar.html |
Forum: PHP Jul 2nd, 2008 |
| Replies: 11 Views: 2,696 if there are errors it should not insert into the DB so it will repopulate using what is in the DB.
are you asking how to repopulate the form with their selections only highlighting the section that... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 3 Views: 543 when starting out a new project I always tell my students the best place to start is on paper.
write out what you want the out put to look like then do the html tid bits to get the page to look the... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 8 Views: 824 you should create a db_connect.php and use require
it keeps your code clean and less garbled.
Also location does not need to be full adress, it can represent location local to page.
... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 7 Views: 712 give Notepad Lite a try. it highlights errors in both php and html code
http://www.notetab.com/ntl.php |
Forum: PHP Jul 2nd, 2008 |
| Replies: 10 Views: 1,717 try to use require once rather than require.
are they each connectiong to a different Db?
and yes as a security flaw you should close the connection when you are finished. |
Forum: PHP Jul 2nd, 2008 |
| Replies: 5 Views: 865 you will need to change the print form to look like your paper to be printed on, then the code will need to resemble the $print properties for each line to be printed.
Do a google search for php... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 8 Views: 824 please make use of [ co de ][ /co de ] when posting code snips.. makes it easier on the eyes for reading and finding problems.
I will share some of my own code but you need to try and figure it on... |
Forum: PHP Jul 1st, 2008 |
| Replies: 3 Views: 1,275 I oppologize I mis-read your situation.
This IS possible.
use a simple redirect to redirect them, have the php create a file on your server, with read and write access granted to that user (this... |
Forum: PHP Jul 1st, 2008 |
| Replies: 3 Views: 1,275 as far as I know, a sub domain " sub_domain.domain.com " can't be created by a PHP script or any other script at that.
It's a question of a server configuration.
If you have access to your host... |