I am currently trying to learn PHP5/MYsql and i am wondering how do you know what to put inside the <? and ?>\n\nThank you for taking the time in reading this
138846
Aaaa, a virgin.\n\nStuff like\n<?php\n echo "<html>&#92;n";\n echo "<p>I am a goober</p>" . "&#92;n";\n echo "</html>&#92;n";\n?>\n\nTry it! Put it in index.php and see what happens.
184596
That's not terribly descriptive to start with...\nWhen you say "z needs c".. do you mean to output a message on the screen saying those things but using the labels on the menus as x, y, z, a, b, and c?\nWell, use post vars... (ie $_POST['varname'])\nand are the menus supposed to all be on the same page?\n\nwhoops, i forgot that april is BEFORE may...
760
Hello,\n\nLooks like you need to add a 0 to the end of the rating_sum row and the script will execute. So edit the mambo.sql file located in the SQL folder by adding a 0 at the end of the rating_sum row see below:\n\n`rating_sum` int(11) unsigned NOT NULL default '',\n\nto \n\n`rating_sum` int(11) unsigned NOT NULL default '0',\n\nI think your local MySQL install is being picky. \n\nTry it out and let me know, if that works. \n\nThanks,\n\nV
145069
You should be calling it like this:\n\nrequire_once('str_highlight.php');
335038
TO set up the tables you need to log into your mySQL database once in there you need to set up the tables with the create command. I think is something like this, \nCREATE TABLE tbl_name\n    [(create_definition,...)] this would be your columns\n    [table_options]\nhmmm.... i think that is it, do a search on create tables in mySQL you will get a lot of info.\n\nIf you have a GUI then just try to find the field were you set up the table then edit it and add the columns that you require.
88273
<?= is used as a shortcut to echo or print a variable.\n\n<?=$variable_name;?>\n\nis the same as:\n\n<?print $variable_name;?>
460223
you need to check what kind of values you are receiving as a recordset first if you are finding it difficult to access the values. echo the result set as follows\n\n<?php echo $queryResult['columnName']; ?>\n\nyou can loop through the values by using a do-while loop by following\n\n<?php\ndo {\necho $queryResult['columnName']; \n} while (mysql_fetch_assoc($queryResult));\n?>
233958
Well PHP and MySQL is the Best you can get for this......\n\nhttp://www.php.net/manual/en/ and Dive into the world of PHP
348589
Its going to be difficult without an understanding of some basic programming. You mentioned a MySQL editor, im hoping that this is phpmyadmin, this is what I have used to create databases before. Based on what it sounds like your needs are, you might like to try find a student studying this,and ask for his/her help. The are usually itching to get their hands on something to work with. More professional services are available from sites like rentacoder (rent a coder) - google that - Alternatively look around for some basic connection string tutorials wiht mysql and php, im sure with a little tinkering and a lot of patience you might get it working.
639150
Create a new field in the property table called Address:\n\nalter table property add Address char(50);\n\nThe above assumes the data type is char(50).\n\nUpdate that new field equal to street number and street name:\n\nupdate property set Address = concat (Street_Num, ' ', Street_Name);\n\nAssumes that Street_Num and Street_Name represents street number and street name, respectively.\n\nThis assumes MySQL syntax.  The exact concatenate syntax is database-dependent.
244427
No. you can insert php code in html anywhere you want.\n\n<?\n$a = "Some text here"\n?>\n<html><body><? echo $a; ?></body></html>
7383
Try the following tutorials:\nhttp://www.devshed.com/c/a/MySQL/Beginning-MySQL-Tutorial/\nhttp://www.php-mysql-tutorial.com/
247205
what langauge do you use asp/php?\nexplain more.
422655
I havn't done it mysqlf but a good place to start is with the TI-83 SDK and the documentation. The headers and required includes usually have a lot of information on how they can be used and often have a brief tutorial/starter project to build off of.
394419
For Some reason, it will not display the code correctly. Email me and I will send it to you, unless this is enough.\n\nOK, did this once before, then I abandoned it for PHP and MySQL.  Here was my code:\n\ndim objConn\nSet objConn = \nServer.CreateObject("ADODB.Connection")\nobjConn.ConnectionString="Driver={Microsoft Access Driver (*.mdb)};" & _\n"DBQ=MyDatabase.mdb"\n\ndim objRS\nSet objRS = Server.CreateObject ("ADODB.Recordset")\nobjRS.Open "MyTable", objConn, , , adCmdTable\n\n// Replace "MyDatabase.mdb" and "MyTable" with the Access Database name and the Table name.\n\nthe line that has ADODB Conn... should say \n("ADODB.Connection")\n\nHope this helps.
481663
In the URL you dont use the quotes. PHP will understand it to be a string.\n\nInstead of\n<a href="index.php?c="red"">Home</>\n\nTry \n<a href="index.php?c=red">Home</a>\n\nIf for some reason you need a quote then you can use the " but I am sure you dont need it.\n\n<a href="index.php?c=red">Home</a>\nIn PHP the var $c will hold a string of "red" (no quotes of course).
628169
PHP/MySQL is often embedded in HTML.  It's fairly easy to learn and there is a lot of free scripts online that you can use on your own web site.  A good way to learn PHP/MySQL is to install a content management system like WordPress and then tweak the code to make it do what you want.  w3schools.com has some PHP tutorials, and also use the search engines to find PHP tutorials.  PHP.net is a good reference also.  For example to find out how to send email with PHP, just type php.net/mail into your browser.  To learn how to format the date, type php.net/date.\n\nLAMP stands for Linux, Apache, MySQL, and PHP.  They are made to work well together.  You can use a Linux distro on your own computer (like Ubuntu) and test your PHP/MySQL scripts on your own computer.  That is one of the best ways to learn.  Most web sites are hosted on Linux and LAMP is very popular.  Using it at home is a good learning experience.\n\nIf you have Windows and want to use PHP/MySQL, download Apache2triad and it will install what you need on your computer.\n\nASP.NET is for pratical purposes Microsoft-only.  I don't recommend it because it is more expensive.  You would probably need to buy software for it (Visual Studio) and the hosting is more expensive.  There are many more free scripts for PHP/MySQL than for ASP.NET as far as I know. \n\nRubyOnRails is excellent.  Ruby is easy to learn.  ROR is a bit harder unless you know some programming.  There are a few good books out on Ruby and ROR in the Pragmatic Programmers series.\n\nFor e-commerce, why not try Drupal?  It is a free content management system written in PHP/MySQL.  It has ecommerce features.  You can take a look at my site for an example -- it is basically a default installation with a few modules.  My theme is barely modified from the original, but it is highly customizable if you put some time into it.