Jump to content

Gathering Data


Cannibal_Monkey

Recommended Posts

Could somone write a sample code that would retrieve a from row 1 of table b in database c. So far I have

 

<?php
$connection=mysql_connect("localhost","root","")
or die ("You're dead1");
$db=mysql_select_db("c",$connection)
or die ("You're dead2");
$query=mysql_query($a);
?>

 

I'm not sure if that's all correct though, I mean to do what I want to do.

Link to comment
https://forums.phpfreaks.com/topic/40456-gathering-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.