Sothenicethingabout a getmethodversus a postmethodis, sinceyou'repassingofthevariablesandthevaluesthatsitthroughanactual U R L string, youcaninfactbookmarkthatyouare l stringright?
Soifyou'regonnabeinteractingwithinmysequeldatabase, let's saytogetreportsright, soLet's sayyouwanttopull a report.
Well, ifyouuse a getmethodinordertopullthereportwhenthenicepartsisisyoucanactuallyjustcopythatfool, youare l Youcanbookmarket, Andthenwheneveryouwantthatspecificreport, insteadofhavingtogothrough a formorsomethingelse, youcansimplyclickontheearl.
Goforthefirstthingthatwe'regoingto d'ohiswe'regoingtogoandwe'regoingtotake a lookatourmysecretdatabaseagainbecausewealwayswanttounderstandtheenvironmentthatwe'redealingit.
EsoWhenever I createtable, there's mostlikelygoingtobean s attheendofit.
That's thatmakesmylifeeasierbecause I knowthere's alwaysan s attheendofmytables.
Then I notealwaysputan s oneofpromisingunitwithsintaxes.
Somepeopleput a votetableandsomeputpeoplecreate a studentstableperson, creates a parttableandsimplynotknowingwhetherthere's an S f e andcommunalpaininthebutt.
Justcomeupwithsomenamingcommittee.
I don't carewhatitisifyoulikeflorals, but s isyoudon't likequarrels.
Don't putasses.
I'd likemySSfromhere.
Wewanttodescribethevotestables.
Weknowwhattheboatstablelookslike.
SemiColin.
Ofcourse.
Sowetake a lookatthis s wehave a voteunderscore i d.
Thisisaneditoristheprimarykeyandthattheautoincrementsbasicallythisgivesus a boatideanumberbasically.
Soagain, everysinglerecordisunique.
123456789 10 Then I have a feelforyes, thatisanintegerThen I have a feelforno, thatisalsoaninteger.
Andthenagain, I have a timefeelthat I useisanintegerforme, especiallyintroubleshootingprocesses.
Andwhen I'm buildingthings, I likeputting a timefieldinbecauseitjustverifiestomethatthingsareactuallyupdatinghowthey'resupposedtolikewhenyouhittherefreshrightwhenyouhittherefresh.
Ifyoudon't haveanythingthat's automatic, that's dynamicallygonnaupdateyou'renotreallysureifyou'rerefreshingorifyou'regetting a cashorwhatexactlyisgoingon.
Thenicethingwithhavingthetimefieldisatleastgivesyou a timestamptoshowyouthattimeistickingonthat.
WedoThendoanotherbreakjusttogiveus a littlegapbetweenbetweenthetitleandlinksandthendownherewehavethreelinksnowagain, dependingonhowyoudothesehyperlinks, right?
Yes, equalsoneNoequalsonetimecodeWhen a two, I guesstoshowyouitallworksif I clickonnoagainyes, equalzeronoequalsoneblah, blah, blahagainstleftallandwecanseeyou.
Anotherrecordhasbeencreated, Yes, zeronoisone.
Andthetimeisnowoverthat 3198 s.
Sothat's allthat's requiredinordertopassvaluestobe a bitinsertrecordsendsheremysingledatabasetablesusing a hyperlinkand a getmethodforPHP.
ButyoucouldYoucouldpass a valueforanupdatestatementalreadyshowingyouhowtodealwithupdatesusingPHPscriptsinsteadofhaving a formandupdatingbasedoffof a camel, foryoucouldupdateoffoven.
A lotofprofessionalpeopleget a littletoohyperfocusedonbeingsoprofessionalwheninreality, like, say, for a lotofthings, justcreatingthesesimplescriptsinorderagaintosolve a problem, that's all.