note 59230 added to function.mysql-query

From: Date: Wed, 30 Nov 2005 07:30:41 +0000
Subject: note 59230 added to function.mysql-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-99342@lists.php.net to get a copy of this message
//new table <?php $kapcsolat=mysql_connect('localhost','gepesz','gepesz'); mysql_select_db('gepesz') or die("Nincs db"); $ujtabla = ("CREATE TABLE misi_zh ( id INT( 4 ) NOT NULL AUTO_INCREMENT , kerdes VARCHAR( 128 ) NOT NULL , valasz1 VARCHAR( 64 ) NOT NULL , valasz2 VARCHAR( 64 ) NOT NULL , valasz3 VARCHAR( 64 ) NOT NULL , valasz4 VARCHAR( 64 ) NOT NULL , jovalasz INT( 1 ) NOT NULL , PRIMARY KEY ( id ) );"); mysql_query($ujtabla) or die("Nem jött létre a tábla"); ?> ---- Manual Page -- http://www.php.net/manual/en/function.mysql-query.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59230 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59230&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59230&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#99342) next »