AndyB
-
Posts
5,465 -
Joined
-
Last visited
Never
Posts posted by AndyB
-
-
when i insert the date with insert record command in dream weaver it changes the date
Then there's something wrong with your insert record statement or in how you retrieve the POSTed 'date' field.
If you enter it as text, simply add it to the database as text.
-
$row_Recordset1['date'];
What did you put IN that record? When we know that, we can suggest how to process/re-format that information to output the date in the form you want. Show us an example of the information, or explain how 'date' was entered into your database.
It might have been better to put the data into the database originally in the format you want. The date() function in the manual explains how to convert to any date format you want.
-
Based on what I understood from your post, it has all the makings of at least a syntax error. Is your field name really tbl_recipes.recipe_detail (or is it recipe_detail)?Post the actual php code you have that retrieves the search word(s), along with the actual database query you're using, and someone can offer a suggestion/solution.
-
What is the least expensive and simplest solution?
In the SAME script as is used to add information to the database, you can include some additional code to retrieve information from the database, create whatever text with it you want, and use php's mail() function to send an e-mail or e-mails to whomever you want.
Total cost = $0.
-
I design my page layouts using pencil and paper. Then when I think I have a good idea of what I want, I use Photoshop to create the visual layout. Then, when I'm satisfied that I have the look I want I can easily crop and create any of the graphic elements I need for the page ..... and then I code the page (using a souped-up text editor that includes a live page view that I leave turned off, plus a whole load of other bells and whistles).
Strange how nobody mentioned that design is a completely different exercise from coding, regardless of what tool you use to generate the code.
-
er, like this?
<a href="http://www.disney.com">Meet the Mouse</a>
-
Displaying Date in format of d/m/y
in Editor Help (PhpStorm, VS Code, etc)
Posted
If you had defined the 'date' field as a text field instead, then whatever you entered would be exactly what you got back. Isn't that what you wanted to happen?