Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 22nd, 2008, 7:33 PM   #1
Logical1
Programmer
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 47
Rep Power: 0 Logical1 is on a distinguished road
Question Nerver ending problem of passing variables!

Hello Guys
My code is:

<?php
$MyVariable=20;
include ('http://www.mywonderfulwebsite.com/test.php');
?>


and it is not working!

This bit of code is supposed to be inserted in pages (let's say 123.php) and use the test.php file from my server for some calculation.
Include part works. Tables are showing up in 123.php BUT:
The code in test.php is supposed to use the variable in some calculation, but it does not get it.
I get BLANK for value of $MyVariable.
Any ideas as what am I doing worng?
Many thanks in advance
__________________
^c^
Logical1 is offline   Reply With Quote
Old Jun 22nd, 2008, 10:39 PM   #2
Logical1
Programmer
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 47
Rep Power: 0 Logical1 is on a distinguished road
ignore this

ignore this thread problem is solved
__________________
^c^
Logical1 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
passing variables from one method to another? tumbleTetris Java 4 May 28th, 2006 9:22 AM
Passing variables using sessions k4pil PHP 0 Feb 19th, 2006 2:08 PM
hangman problem ending too soon thebignood C 10 Nov 10th, 2005 6:52 AM
Problem passing multi-dimensional array to function aznluvsmc C 2 Aug 30th, 2005 10:00 PM
string problem when passing in linked list quantz C++ 0 Feb 27th, 2005 10:11 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC