But where in a php-page shall i load classes.
I know about the missing $. But that isent the problem. Here i have a
simple, basic, webbpage. Shall i load my classes at the top like this or ???
My class is in class.inc
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Is it possibele to save a class in a session
ex.
$cl = new Class();
$SESSION['this_class'] = cl;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If i do like this.
How does the webbrowser send this? With post or get or ..?
Shall i get the action with $_POST or $_GET?
ex.
@$action = $_POST['action'];
if(!$action)
@$action = $_GET['action'];
processRequest($action);
If i do like this
How do i get the action in my php pag
-file
$con = mysql_connect("localhost:3306", "buddy", "bestbuddy");
I cant connect to mySQL. I dont know what is wrong. mySQL listen to port
3306. I have tried with my IP to. I get this warning
Warning: mysql_connect() [function.mysql-connect]: Too many open links (0)
in
4 matches
Mail list logo