|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Create dynamic sites with PHP & MySQL
Greetings.
In this tutorial (#9) there are some errors that will really turn off newbies that don't have any experience. I am a newbie, but I have read enough to fix the errors in the scripts. Page 10 salary) VALUES ('$first', '$ last', '$nickname','$email','$salary')"; There is a space between '$' and 'last' Page 12 $result = mysql_ query("SELECT * FROM personnel",$ db); The last variable has a space Page 13, upper box $db = mysql_ connect("localhost", "root", ""); a space before 'connect' mysql_select_db("learndb",$ db); the last variable has a space Page 13, lower box echo "<TR><TD>".$myrow["firstname"]." ".$ myrow[" nick"]; a space in the last variable Page 14, lower block echo "<a href="delete. php?id=".$myrow[id]."">Delete</a> "; delete.php has a space in it Have fun! |
|
#2
|
|||
|
|||
|
RE: Create dynamic sites with PHP & MySQL
Those errors have been corrected. Thanks for pointing them out!
|
|
#3
|
|||
|
|||
|
RE: Create dynamic sites with PHP & MySQL
please dont flame me
im new to php and mysql trying this tutorial ive created database and view php i get an error Parse error: parse error, unexpected on line 5 which is my: $result = mysql_query("SELECT * FROM personnel" , $db); can anyone help me in the right direction |
|
#4
|
||||
|
||||
|
RE: Create dynamic sites with PHP & MySQL
how is $db being populated, i suggest posting a new thread in the phpcoding forum to get the most help.
|
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Create dynamic sites with PHP & MySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|