Search found 4 matches

by jose07
Wed Nov 10, 2010 8:19 am
Forum: PHP - Code
Topic: conditional statments & array
Replies: 7
Views: 720

Re: conditional statments & array

Thanks for that, you're brilliant! compared to all the other forums your replies were the only ones that actually helped me solve the problem, so thanks for taking time to explain. The ob_start(); worked beautifully. Thanks again and keep up the good work!
by jose07
Tue Nov 09, 2010 7:09 pm
Forum: PHP - Code
Topic: conditional statments & array
Replies: 7
Views: 720

Re: conditional statments & array

Yes i get this: PHP Warning: Cannot modify header information - headers already sent by (output started at /.../.../.../.../inc_header.php:6) in /..../..../..../..../adverts.php on line 64 And it won't take me to the login page instead it just shows half the advert and no footer which makes me suspe...
by jose07
Tue Nov 09, 2010 1:06 pm
Forum: PHP - Code
Topic: conditional statments & array
Replies: 7
Views: 720

Re: conditional statments & array

Thanks for the reply and thanks for correcting my mistake of using action script to re-direct the user. I have another question I can't user headers because the script already uses other set headers which then conflict if i add another one on the if statement. my question is how can i direct the use...
by jose07
Mon Nov 08, 2010 2:26 pm
Forum: PHP - Code
Topic: conditional statments & array
Replies: 7
Views: 720

conditional statments & array

Hey guys here is where i'm stuck: i have adverts on the site but i have set permission on the adverts to be either 'public' or 'restricted' so based on that i want to create a statement with three possible outcomes, it should check the values of the columns and if the is an advert it will check the ...