Jump to content

A few noob questions...


imnotokay881

Recommended Posts

A few things:
1.) Including a variable from a another php page like:
[code]td height="20" bgcolor="#336699" valign="center"><font face="verdana" size="2">TXT
            HERE</font></td>[/code]
Where is says text here, i would want to put text from a variable from another page.

2.) Putting text into an image from $pictxt = 'TextHere'
to display on the image.
And if you could grab the $pixtxt from another page.
Thanks for any help. Really appreciate it

-Ino881
Link to comment
Share on other sites

Actually after looking thogh didnt see anything... but... but i did think of something...
var.php
[code]
$headtext= 'header'
[/code]
page.php
[code]
<?php
include 'var.php';
echo " $headtext "
[/code]

would that work???

EDIT:
Doesnt work...
i figured if i included a file with the variables it would work but i guess not...
any ideas?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.