hi i am new here first of all hi and i need help in php code i have just make table in database sql now what i put code for insert table in to website and other is that how i make hyper link for sql database table in php code
$q = "SELECT * FROM sql-table"; $s = mysql_query($q) or die('MySQL error: ' . mysql_error()); while($row = mysql_fetch_array($s)) { $something = $row['column']; }
how i make hyperlink? in my table
You add the URL into a Column in the DB, then publish the result with HTML as a link such as...
echo "<a href=\"$row['url_column']\">Link Could Also be a Column</a>";
i just see in most of site that the link change in this www.something.com/some?=some how i do this
What?
Did you try the things NZ_Kiwis wrote?
You probably what to run this in your script when you use nz's code.
echo "<pre>"; print_r($_GET); echo "</pre>";