I need a cookbook program

watdahel

Golden Member
Jun 22, 2001
1,657
11
81
www.youtube.com
So, I've decided to start cooking. I've gathered a bunch of recipes and somehow I keep losing the paper I write them on. I would like to store them on my computer for future records. Anyone know of a good recipe software I can use that's free or a really good non-free one?
 

ebaycj

Diamond Member
Mar 9, 2002
5,418
0
0
write your own ftw!

freebsd + postgresql + perl(or) python (or) ruby (or) gcc (or) php/apache

or if you're feeling microsoftie,

xp + sql 2005 express edition + Visual Studio 2005 express edition

 

BHeemsoth

Platinum Member
Jul 30, 2002
2,738
0
76
Originally posted by: ebaycj
write your own ftw!

freebsd + postgresql + perl(or) python (or) ruby (or) gcc (or) php/apache

or if you're feeling microsoftie,

xp + sql 2005 express edition + Visual Studio 2005 express edition

Or Access.
 
Jun 4, 2005
19,723
1
0
PHP:

<?php mysql_connect("localhost", "uName", "passwd") or die(mysql_error());
mysql_select_db("dbName") or die(mysql_error());
$query = mysql_query("SELECT ingredients, title, date FROM dbName ORDER BY date");
while(($recipe = mysql_fetch_assoc($query)) !== false){
$rIngredients = $recipe['ingredients'];
$rTitle = $recipe['title'];
$rDate = $recipe['date'];
$date = date("F jS, Y"); ?>


<p>Add to database:</p>

<form action="" method="POST">
<input type="text" name="title" />
<textarea name="ingredients" rows="5" cols="20"></textarea><br />
<input type="submit" name="submit" value="Update" />
</form>

<?php
if(isset($_POST['submit'])){

$query2 = "UPDATE dbName SET ingredients = '".$_POST['ingredients']."', title = '".$_POST['title']."', date = '$date'";
mysql_query($query2);
}
}
?>

Something like should work. I threw in a couple extra variables for when you want to call the information. I'll check the synthax in a moment.
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
i print mine out and put them in a folder

either i remember them entirely

or not at all and require them printed on paper to cook the dish :/