add details to user profile( query that inserts logged in user and current gig into new table)
Tag : php , By : Florian D.
Date : March 29 2020, 07:55 AM
With these it helps use hidden field for brand id in your form like this: you should use form for this. while($row = mysql_fetch_array($result))
{
echo "<tr><form name=\"myform\" action=\" something.php\" method=\"post\">";
echo "<td> <input name=\"brand\" type=\"hidden\" value=\"". $Band_id."\" ></td>";
echo "<td>" .$row['Name']. "</td>";
echo "<td>" .$row['Venue']. "</td>";
echo "<td>" .$row['Category']. "</td>";
echo "<td>" .$row['Stock']. "</td>";
echo "<td><button>Buy Ticket</button></td>";
echo "<td><input type=\" submit\" value=\"Buy Ticket\"></td>";
echo "</tr> </form>";
}
session_start();
$brand_id = $_REQUEST['brand'];
$user_id = $_SESSION['user_id'];
$sql = "insert into order (brand_id,user_id) values($brand_id,$user_id)";
// then execute this query
|
How can I get the current Facebook user's public ID (not the scoped-id) or get the current user's profile photo
Date : March 29 2020, 07:55 AM
I hope this helps you . There is no way to get the global ID anymore - it would make the whole concept of the App Scoped IDs pointless. You get the current profile picture with the following URL: https://graph.facebook.com/[app-scoped-id]/picture - it does work with the scoped one too.
|
Is it safe to delete .nuget folder inside my user profile folder?
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further Yes, the .nuget folder is used as a cache for packages downloaded to speed up project restore and compilation. It can safely be removed. Worst case, it will have to download the packages again in the future.
|
Create folder and file on Current user profile, from Admin Profile
Date : March 29 2020, 07:55 AM
|
How to restore missing Documentum folder (UCF) under user profile folder?
Date : October 06 2020, 05:00 PM
it should still fix some issue Webtop 6.0 is quite old and it requires UCF Java applet installed in the browser so you should use also an old version of the browser where Java applets are still supported (none of current browsers support Java applets). Then the Documentum folder will be created automatically by the applet. Or you can enable HTTP transfer mode instead of UCF by changing default mechanism this way: <default-mechanism>http</default-mechanism>
java -cp ucfinit.jar com.documentum.ucf.client.install.TestInstall "http://my-server.with.webtop:8080/webtop" "/wdk/contentXfer/ucf.installer.config.xml"
|