Jump to content

MySQL result resource through a header SOLVED with thanks in final post


niche

Recommended Posts

test_120424.php has a single line of code: echo mysql_num_rows($keyword2); include 'test_120424.php'; returns the expected echo. header('Location: http://localhost/test_120424.php'); returns these messages: Notice: Undefined variable: keyword2 in E:\wamp\www\test_120424.php on line 2 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in E:\wamp\www\test_120424.php on line 2 Can I send a MySQL result resource through a header? If so how should I be thinking?

Edited by niche
Link to comment
Share on other sites

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...