Hi,
I want to be able to call a database table that will be setup in another file called init.php, and be able to call it from any PHP file that has init.php included.
Table is called abc_offline and has columns a,b,c in it.
What I am wanting is to be able to call it from any PHP file by:
$offline['a'] for example
How do I do this, I been told I need an array in init.php but I don't know how to do this.
At the moment the init.php has the DB conncect details and some calls to other tables.
Regards
Help with echo()
I'm having some problems with this code:Code: echo ' <A
help with email script...
hey I need help with my mail scriptwhen the form on http://www.mcgdesignstudio.com/contact.html is filled out, it send the from with no errors.. however i never receive it.. my hosting company have
On page view, minus credit
Hello all, please, I need a little help with this script. I am charging one credit (credits can be purchased, but that is unrelated) for view of a certain page. I need help in figuring out what php I
help me, how to find text on an external html site using PHP
Would anyone know how to search an external html file for a work or phrase ?I was thinking something like this --I use script cURL...Code: <?phpif (isset($_POST['submitted'])) { $xurl_1 =
Problem in String replace program's output
Hi all,
PO Release Strategy Issue
Hi Experts,
Is there a function ... auto send IP
Is there some function that can be sent to a ddns service that returns the ip address of a ddns forward. I am working on a script that uses a dvr from a home and the owner wants to have the dvr stream
understanding functions and classes
Code: [Select]class person { var $name = "Jimmy Goe"; function get_name(){ echo $this->name; }} I am playing with this very small script that I made using a
dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button that i would like to have it when selected and i hit either edit or delete the ID is passed to another
need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which stylesheet a user chooses from the administration backend of a wordpress theme. The sizes of the images