Code PHP/mySQL help please
Hi all
Thanks to David Powers fab tutorial I am now well on my way to my first dynamic website with PHP/mySQL competeing, (thanks to David ), but I'm stuck on one particular area... can someone please help?
I know that the mySQL database using the YYYY/MM/DD format for dates, and that's fine. I set how to display in a format more regular (for example, September 1, 2011) for my application, but I'm stuck on how to convert a more regular formatting date is entered by the user of the site to mySQL format.
Ideally I would like to enter users or tell the 09/01/11 or 09/01/11 (or something in that sense, to be recognized and displayed on the registration form, but to have a back-end service that converts the data to the format mySQL. I think I'm reading a lot of posts forum who say that this is possible, but unfortunately I can't quite understand how or where the code should sit. Someone would have is not afraid to take a look at my page of codes to identify actually what I need to insert and also as important... where!
Is it possible to have a miniature calendar date picker that can be built next to the entry field in the right format and date to make sure that a valid date is entered along these lines? Where this could be extracted?
Thanks for help if necessary
Mark
GetSQLValueString (date('Y-m-d'), strtotime($_POST['date']), 'day'),
Make this line looks like this-
GetSQLValueString (date ('Y-m-in, strtotime($_POST['date'])), 'day'),
This was my mistake - sorry. The MySQL data type DATE should be in YYYY-MM-DD format. If this is the data type of this field "date", and then copy the following code should work.
Tags: Dreamweaver
Similar Questions
-
My update of the computer window stopped updating since October 23, 2010 and each time I tried check the update popular I get the error code 80070490. Help, please!
Hello
questions have already been addressed here in my 1st reply:
Please read the answer given
Here is the solution for your problem of MS
You receive an error code "0 x 80070490" when you use Microsoft Update or Windows Update Web sites to install updates
http://support.Microsoft.com/kb/958044
or repost in the correct windows update forum
http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all
-
I've just upgraded to PSE 12 and first E 12 and tried to installed several times. Pop up says "Configuration Error"; contact Adobe Tech Support (?); and "mention the error code 1"! Help please!
Installation seems to work fine until, and including 'Technologies share '...
I have cleaned all the disk *.tmp files, deleted all the shortcuts and various Adobe programs and he then successfully installed.
Now, if I can get the updates to work. There is always a challenge with the Adobe software.
-
Code 8E5E0147. Help, please.
My OS is Vista Ultimate. Windows Live One Care is my antivirus program. Today, he asked for me to make more CD backup, following that, I was invited to do the updates. Error Code 8E5E0147 keep appearing. The journal suggests the windows updates are 'failing '.
About 4 months, my computer is a Dell. I am far from be warned @ techie stuff. Please, please help.
I installed reinstallation DVD in my drive, it has SP1. When the choice of what to install, I was hesitant and worried that he would remove the programs that I have
installed (like printer, magicjack)?
No matter what I try, I am unable to get the One-care (bubble) to return from yellow to green.
Your kindness is appreciated. RedC0ugarHi RedC0ugar,
Welcome to Microsoft Vista answers Forum!
I would like to ask a few questions to help us focus in the right place.
1. are you able to run Windows update on your computer?
2. If it works well before?
3. did you of recent changes to the computer?
I have a few here that might solve the problem.
I would suggest that reset you the components of Windows Update on your computer, download the Microsoft fix - it from the link below which will automatically reset the components of Windows on the computer: http://support.microsoft.com/kb/971058.
If the question you have posted is tied to the lives that once care and would be better suited to the Windows Live community. Please visit the link below to find a community that will provide the support you want.
Windows live one care Forum.
http://social.Microsoft.com/forums/en-us/category/windowsliveonecare
Hope this information is useful.
Let me know if it worked.
All the best!Thank you, and in what concerns:
Swathi - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think. -
Hello
I can't update my cloud creative verison CC 2015.
still, he stops at 43-44% and gives me error code: 50
Please help me.
My Fb: www.facebook.com/124ahmed124
Please, try the following steps:
1. uninstall the application Adobe CC of the machine (https://helpx.adobe.com/creative-cloud/help/uninstall-creative-cloud-desktop-app.html)
2 set to "Full control" permissions on the files of Adobe for all users in the following locations:
a. [unite_systeme]: \Users\ [user name] \AppData\Local\
b. [system drive]: \Program Files (x 86) \Common Files\
3. restart the computer.
4. install the application Adobe CC (Creative Cloud help |) Creative cloud for office)
-
At first, he would try to install the updates and then fail, but now it can't even check if updates are available. Always the same error code! Extremely frustrating!
Hi Chris and Sarah,
Welcome to the Microsoft Answers site!
a. update you are trying to install?
b. you are trying to install it through automatic updates?
This problem can occur if the manifest of components (CBS)-based services is corrupted.
Try the following methods.
Method 1
Open the link http://support.microsoft.com/kb/971058 and click the Fix It button, which will automatically reset the windows components update. Try to install the updates. If it fails again, try Method 2.
Method 2
Step 1
Download and install the latest windows install 4.5
http://support.Microsoft.com/kb/942288Step 2
Open the link below and try out them method 1 article, then install the updates.
http://support.Microsoft.com/kb/957310Hope this has been helpful.
Kind regards
Bindu S - Microsoft Support
Visit our Microsoft answers feedback Forum and let us know what you think -
Ideas:
- Vista
- This problem occurred after avast is flaggeg error last dec 4 2009
- I tried to reset the windows update components, but it did not work.
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Hi Agnes Vizcarra,.
Thank you for visiting Microsoft Answers.
· Which version of Windows Vista is installed on your computer?
· Remember to make changes recently?
This problem occurs if Windows Update has been disabled by one of the following settings:
· Group Policy
· System policy
· Registry
Method 1
Try to turn on the auto update by following the steps in the link below:
How to configure automatic updates by using Group Policy or of registry settings
http://support.Microsoft.com/kb/328010
Method 2
If you have any security software installed, disable temporarily.
Method 3
Download and install the stand-alone package for the Service Pack 2 from the link below:
Windows Server 2008 Service Pack 2 and Windows Vista Service Pack 2-five language standalone (KB948465)
Method 4
Run a virus scan because it causes sometimes caused by viruses.
Microsoft Security Essential
http://www.Microsoft.com/Security_Essentials/
Link to view:
Learn how to install Windows Vista Service Pack 2
Information about Service Pack 2 for Windows Vista and Windows Server 2008
http://support.Microsoft.com/kb/948465
Hope the helps of information. Please post back and we do know.
Joel S.
-
When starting my pc, I get the 0xC00E002 error Code can someone help please?
whenever I try to boot my pc, I get this code, do not know what to do, anyone have a solution for me?
Hi David,
1. don't you reference this 0xC004E002 error code?
2. not this problem occurs when you run a specific program or out of order?
3 a copy of your Windows is active?
To check your Windows activation status, do the following:
System opened by clicking on the button start , right click on computer and then click Properties.
Under Windows activation, you can see your activation status.
If you are referring to the 0xC004E002 error code, follow the provided steps and check.
Error 0xC004E002 during activation of Windows Vista, Windows Server 2008, Windows 7 or Windows Server 2008 R2
http://support.Microsoft.com/kb/978305
Hope this information helps. Response with status so that we can help you.
-
Hi all, impossible to download the photos out of Lightroom 5 - I get a ' cannot read the message ' and 496 of the code ".". " I previously used the crd of memory and it works ok. It also displays images must be downloaded but just let me download them. This is the message I received:
The following files were not imported because they could not be read. (496)
So what I did is launching a new catalog that then wiped out all the records and traces of my previous photos!
You talk of out of the frying pan and into the fire! Can someone help me with this? I have an important project to present - I'm Freelancer and looking quite the fool.
E.
Your old catalog is still there, use the file-> open the recent item
The error "cannot be read" indicates that the folder where your photos are to be copied in has no WRITE permission. Change your permissions on this folder.
-
I already tried ideas to stop the Windows Update Service, removal of temporary files to update and restart the Windows update service.
Hello
Have you made changes on the computer before this problem?Follow these methods mentioned below and check.Method 1:
I suggest you to check if you are able to access Windows Update service and ensure that the following services are started. If it is not started, follow these steps:
a. Click Start, type services.msc without the quotes and press ENTER.
b. search Windows Update.
c. right-click on the service and select Properties.
d. in startup type, select Enable.
e. Click Start under the service status.
f. click OK.
Repeat steps c through f for the following services:
Background Intelligent Transfer Service
Cryptographic services
If the steps do not help to solve the problem, you can go ahead with the methods mentioned below and check.Method 2:
Your anti-virus software is in conflict with Windows updates. You can test this by temporarily disabling your antivirus software. Check out the following link.
Disable the antivirus software
http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software
Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.Method 3:
The problem with Microsoft Windows Update is not working
http://support.Microsoft.com/mats/windows_update/Method 4:
I suggest that you try to perform the SFC (System File Checker) scan on your computer and check if the problem persists. Read the following article.
How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
http://support.Microsoft.com/kb/929833See also:
Problems with installing updates
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates
Updates: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows-Vista/updates-frequently-asked-questionsIt will be useful. -
the wireless adapter turns off while being connected and if the connection is lost and even if the wireless router is placed rite nxt him he cnt detect it and then the computer must be restarted.
Hello
Thanks for the reply. Please let us know the State of the question, once you have performed the steps in troubleshooting.
-
error code u44m1p7 any help please!
Every time I have try and update AE I get this error code u44m1p7. I'm under el Capitan.
Thank you
See here:
"Installation failed" error U44M1P7 with Adobe Creative Cloud or updates of Adobe Creative Suite 6
-
HP 1050 printer web is enabled. Cannot find my claim code. Help, please.
Hello
Is my Hp 1050 web allows, I created the connected Hp account, but can not find the code request. Help, please.
Hello
The HP Deskjet 1050 is a single USB printer, only network printers are connected cloud and so it is not a feature of your printer:
Only the models listed below support ePrint:
http://support.HP.com/us-en/document/c02814760
Shlomi
-
I use Windows Vista and that you need to download SQL Server 2005 Express Service Pack 4. I get an error code 64 C help, please.
Hello
I suggest you to try the steps below and check if it helps.
Method 1: Try to reset components to update Windows from the following link, which would help you to install the updates of windows. http://support.Microsoft.com/kb/971058
Method 2: If the problem persists, then try to set up your computer in a clean boot state, and check to see if the same problem happens.
By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.
How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
http://support.Microsoft.com/kb/929135Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.
Method 3: Also try to install the updates manually from the link below.
http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=184
You can also consult the following link for more information:
Troubleshoot problems with installing updates.
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates
Hope this information is useful.
-
My laptop Acer gives me a blue screen on start, or crashes on startup.
I just got an error code:
Can stop: 0x0000008E (0xC000001D, 0x82651B5A, 0xA03EBBD4, 0x00000000) anyone help pleaseHello
Two main causes of this blue screen video drivers and BIOS - check with the system manufacturer
Site for graphics (Video) card and BIOS, then on site of the manufacturer of the device for the last video. It may be
other pilots to check there. Disable the installation of self as those who are older and if
Updates Windows suggests a pilot just HIDE. Antivirus is another possibility.See methods of update driver generic in the next message.
BCCode: 8th 0x0000008E is the same as 0x1000008E
Cause
Bug KERNEL_MODE_EXCEPTION_NOT_HANDLED control is a very common bug control. To interpret
You must identify which exception has been generated.Solve the problem
If you do not have to debug this problem, you must use certain basic troubleshooting techniques:
- Make sure you have enough disk space.
- If a driver is identified in the bug check message, disable the driver or check with the manufacturer for driver updates.
- Try changing video cards.
- Check with your hardware vendor for updates to the BIOS.
- Disable the BIOS memory options such as implementing caching or shading.
If you plan to debug this problem, you may find it difficult to get a stack trace. Parameter 2 (the address of the exception) should identify the driver or function that caused the problem.
If you do not know the specific cause of the exception, consider the following:
- Hardware incompatibility. Ensure that all new equipment installed is listed in the list of the products tested Microsoft Windows market.
- Service driver or defective peripheral system. A chauffeur service or defective peripheral system could be responsible for this error. The hardware problems, such as BIOS incompatibilities, conflicts of memory and IRQ conflicts can also generate this error.
If the verification of the message bug list a driver by name, disable or remove that driver. In addition, disable or remove drivers or services that have been recently added. If the error occurs during the startup sequence and the system partition is formatted with the NTFS file system, you may be able to use Safe Mode to rename or to delete the faulty driver. If the driver is used as part of the start-up procedure of the system Safe Mode, you must start the computer by using the Recovery Console to access the file.
If the problem is associated with Win32k.sys, the source of the error may be a third-party remote control program. If this software is installed, you can remove the system startup service using the recovery and then Console by removing the offending system service file.
Check the system log in Event Viewer for additional error messages that might help identify the device or driver responsible for control of bug 0x1E. You can disable the cache in memory of the BIOS to try to resolve the error. You must also run the diagnostics of material, especially the scanner memory, which provides the manufacturer of the system. For more information about these procedures, see the manual of your computer.
The error that generates this message may occur after the first reboot during Windows Setup, or after installation is complete. A possible cause of the error is lack of disk space for installation and the system BIOS incompatibilities. For any problems during the installation of Windows that are associated with lack of disk space, reduce the number of files on the hard disk drive target. Search and delete temporary files that you do not have to have, files hidden Internet, application backup files and files saved .chk , which contain fragments of files on disk scans. You can also use an another hard disk drive with more free space for the installation.
You can solve the problems of BIOS by upgrading the version of the system BIOS
=============================================
Look in the Event Viewer to see if something is reported on those.
http://www.computerperformance.co.UK/Vista/vista_event_viewer.htmMyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
TIP - Options - Advanced filter allows you to see a period of time instead of the entire file.
http://www.NirSoft.NET/utils/my_event_viewer.html-------------------------------------------------------------------------
It comes to my convenience store generic bluescreen:
Here are a few ways to possibly fix the blue screen issue. If you could give the blue screen
info that would help. Such as ITC and 4 others entered at the bottom left. And all others
error information such as codes of STOP and info like IRQL_NOT_LESS_OR_EQUAL or PAGE_FAULT_IN_NONPAGED_AREA and similar messages.As examples:
BCCode: 116
BCP1: 87BC9510
BCP2: 8C013D80
BCP3: 00000000
BCP4: 00000002or in this format:
Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000It is an excellent tool for displaying the blue screen error information
BlueScreenView scans all your minidump files created during 'blue screen of death '.
http://www.NirSoft.NET/utils/blue_screen_view.html
hangs and displays information about all accidents of a table - freeBlueScreens many are caused by old or damaged, in particular the video drivers drivers however
There are other causes.You can do without if needed fail or the Vista DVD or recovery command prompt mode
Options if your system was installed by the manufacturer.This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxYou can try a system restore to a point before the problem started when one exists.
How to make a Vista system restore
http://www.Vistax64.com/tutorials/76905-System-Restore-how.html-------------------------------------------------------------------------
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe)
program generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228The log can give you the answer if there is a corrupted driver. (Says not all possible
driver problems).Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html-------------------------------------------------------------------------
Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, part 3
keyboard and mouse, as well as of other major device drivers.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlHow to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx-------------------------------------------------------------------------
How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart
quit unexpectedly
http://support.Microsoft.com/kb/958233Troubleshooting, STOP error blue screen Vista
http://www.chicagotech.NET/Vista/vistabluescreen.htmUnderstanding and decoding BSOD (blue screen of death) Messages
http://www.Taranfx.com/blog/?p=692Windows - troubleshooting blue screen errors
http://KB.wisc.edu/page.php?id=7033-------------------------------------------------------------------------
In some cases, it may be necessary.
The Options or Vista recovery disk Startup Repair
How to do a startup repair
http://www.Vistax64.com/tutorials/91467-startup-repair.htmlThis tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxI hope this helps.
Rob - bicycle - Mark Twain said it is good.
Maybe you are looking for
-
Satellite A135-S2246: Question about warranty Toshiba USA
Hi all! Have question, My Father buyed me a toshiba Satellite A135-S2246 in the United States there laptop without any vista/windows cd bassic home / documents/like a guarantee. Can someone tell me if the Toshiba in the United States gives cd and war
-
using vision screws of the earlier version of VDM
I need to support applications that have LV2010 with the Vision Development Module 2010 while my development PC a VDM, 2012. The VDM developers are frequently new versions of IMAQ functions AND for some reason, changing the name of the function. Fo
-
Want 5530: Printer calibrates whenever I turn it on
I bought a second 5530 want all-in-one printer. No problem with the first, but it has begun to insist that I have to calibrate whenever I turn it on. It wastes ink, paper and time. Whenever I turn it on, the printer displays a message that I have
-
I have a 3 to external hard drive that windows xp does not recognize. Y at - it a patch or a setting that I can change so that I can use the drive? I tried this partitioning but that did not work. Thank you!
-
DK52 loading dock supports quick load 2.0?
I was wondering if I use DK52 loading on my premium Z5 still supports fast loading supplied with the phone. Thank you 61eR