Put a variable and website together

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ojsimon
Forum Newbie
Posts: 24
Joined: Sat Mar 31, 2007 5:01 am

Put a variable and website together

Post by ojsimon »

I am trying to get the contents of a file
[$file=file_get_contents("");]

I am using google search and have a variable would like to construct with google for example

[http://www.google.com/search?&q=]My Variable

how would i put that together

Thanks[/url]
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply