Member Avatar

Hi all, I'm new and I currently am developing a website on fishing fred's fishing. The site is an experiment for a portfolio ect. There is a feature, the guestbook. The Guestbook is managed by a MySQL database and the PHP is responsible for creating and echoing the data. I would like it if i could remove a comment by having a cookie and clicking an image to remove a comment much like a delete button. The code below shows what I have written: [code=php] //Connecting to the database $connect = mysql_connect("localhost","***","***")or die("Error Connecting."); mysql_select_db("150742")or die("Error Selecting.");//selecting the data //query …

Member Avatar
0
8
Member Avatar

Hi all, i have a problem in writing a block of SQL code in mysql. The block of code will have too delete a single row/record from about 23 related tables all at once. The code that i have written so far will only delete 1 row/record in 10 related tables but no more. Will not mysql allow this? Can anyone help me? Thanks to anyone that can help me out.

Member Avatar
0
9
Member Avatar

Hi all, i have a problem in writing a block of SQL code in mysql. The block of code will have too delete a single row/record from about 23 related tables all at once. The code that i have written so far will only delete 1 row/record in 10 related tables but no more. Will not mysql allow this? Can anyone help me? Thanks to anyone that can help me out.

Member Avatar
0
3
Member Avatar

Hi, i have made a form in which people fill out their details and its gets saved in database with [CODE] $today = date("F j, Y");[/CODE] now i want to make a search for that forms with date , like Search with in last 3 days or Last 6 months. so when somebody do that, search will show all the forms submitted in last 3 days only or 6 months. respectively. please if somebody can write a code or example for that, instead of just telling me to use some function with just referring function's name.am just a amature in …

Member Avatar
0
4

The End.