Help
-
Search
-
Members
-
Calendar
Full Version:
Php Variables
Zymic Webmaster Forums
>
Web Design & Development
>
General Web Design Discussion
ap_
Jan 17 2008, 11:05 AM
how do i repeat a specific variable on a script?
like :
<?php
$db = mysql_connect("127.0.0.1","user","pass") or die(mysql_error());
$db .= mysql_select_db("database") or die(mysql_error());
if($db !== true){
echo("$db");
}
?>
do i write this right?
ap_
Jan 20 2008, 03:26 PM
im just looking for repeat my varyables with diferent values
ap_
Jan 31 2008, 04:24 PM
better clean code than nothing! lol
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Invision Power Board © 2001-2012
Invision Power Services, Inc.