Jump to content

Click here to view you post!


npsari

Recommended Posts

I have a Form where users put 4 details

 

The forms submits to a tipical insert script:

 

$query="INSERT INTO ads (Name, Title, Town, Category) VALUES ('$Name', '$Title', '$Town', '$Category')"; 

 

I want a See your post link to appear, in the same page, which conatins the ID of this post

 

echo "<a href='/results/viewpost.php?P={$r['ID']}'>See your Post</a><br />";

 

Would the PHP have the time to create ID for the post and display it in the link (on the same page)

 

How? cus i want the user to see his post

Link to comment
https://forums.phpfreaks.com/topic/47282-click-here-to-view-you-post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.