Reply to Re: QUERY AND UPDATE PROBLEM

Your name:

Reply:


Posted by samudasu on 02/27/06 07:13

You are making this so difficult when it doesn't have to be.
Run this line of code and post the results! Don't include your own
code.

<?php
$event = $_GET['id'];
print "id for query is: $event<br />";
mysql_connect("localhost", "******", "******") or die("can't connect");
mysql_select_db("******") or die("can't select database");
$query = "select * from calendar_events where id = '$event'";
$result = mysql_query($query);
$data = mysql_fetch_assoc($result);
print "<pre>";
print_r($data);
print "</pre>";
?>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация