EXAM 2 Study
How do you extract data from your Program2.php Front End
$Telephone = $_POST['Telephone'];
text area php
<-?php echo $dataType ?>
Headers
<H1>content</H1>
Write the code that will display an image called theGraph.png that when pressed, it will load the web page called fiu.edu
<a href="http://fiu.edu"><img src="theGraph.png" /></a>
Break Command tag
<br>
HTML (Skeleton) TAGS
<html><head><body></body></head></html>
Checkboxes:
<input type= "checkbox" name="Name" value="Name">
Write the code to create two radio buttons as done in program 2.
<input type="radio" name="Coffee" value="American" > American <input type="radio" name="Coffee" value="Instant"> Instant
What does the WINSCP program do?, as learned in this class.
Allows you to Create/Delete/Upload/Download folders/files to/from your ocelot.aul.fiu.edu FIU server.
What does the Putty program do, as learned in this class.
Allows you to have full remote control of your FIU server, as a user
How to give access to files in Ocelot?1
Chmod 755
MySql Commands: How to DELETE database
DELETE * FROM Tablename WHERE PK (Primary Key)
How to save in Mysql
INSERT * INTO tableName Values datasets
What is the location of the index.html file, as learned in this class.
In the first level of the public_html folder.
MySql Commands: How to SELECT a database
SELECT * FROM table WHERE PK
MySql Commands: Show table in database
Show table;
What is the purpose of DOCTYPE html, as learned in this class.
To inform the browers that you are using HTML 5.
MySql Commands: How to MODIFY a database
UPDATE table SET data WHERE PK
Ocelot server log in
php if statements
if(isset($_POST['DataType'])) { $data = "whatever"; }
Radio Buttons:
input type="radio" name="Coffee" value="American" > American
Radio Buttons PHP
input type="radio" name="Coffee" value="American" > American <-?php if( Coffee == "American") echo "Checked"?>> American
Mailing php
mail($to, $subject, $body);
Mysql log in / password
mysql -h ocelot.aul.fiu.edu -u fall23_username -p /StudentID
In ocelot.aul.fiu.edu, what is the name of the folder where you place all your programs and folders for your website, as learned in this class.
public_html
Checkboxes with PHP:
type= "checkbox" name="Name" value="Name"> <-?php if( Name == "Name") echo "Checked"?>> Name
MySql Commands: How to USE database
use database_name | fall23_vmato006