Jump to content

This topic is 6779 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Here is some code I use to trouble shoot:

print "

-";

print_r($somevariable); //use a variable you want to check on

print "-

";

This prints the variables neatly so you can see what is happening

You might try $Course_SearchData for $somevariable and place the code in around line 33 of your code.

also

print_r($REQUEST); //will show all the variables being posted.

And finally what do you get for:

echo $Course_SearchResult['errorCode'];

Is there an errorCode at the top of the page other than '0' ?

Posted

hang on a second...

you have two 'foreach() statements in your php

Remove the:

foreach($Course_SearchResult['data'] as $key=>$Course_SearchData);

from the header and you should be fine...

This is because you are wanting to use it in the html to provide a list of courses.

This topic is 6779 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.