User talk:Jasper Deng

Jump to: navigation, search

About this board

For older discussions, see User talk:Jasper Deng/old. For stuff not related to this website, see en:User talk:Jasper Deng.


By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Pine (talkcontribs)

Would deleting the page User:Pine on this wiki allow for my Meta page to transclude here? If so, please delete the User:Pine pave. Thanks!

Reply to "Request for deletion"

how to use primary key in wamp server while using php?...

Be the first to comment! • 21:44, 20 January 2016 19 days ago
0
Reply to "how to use primary key in wamp server while using php?..."
DennisCohick (talkcontribs)

hi @Jasper Deng um i really like how you say thinks by describing them a lot

Reply to "hi"
Fuse809 (talkcontribs)

Hi, I just wanted to ask you a question. Do you know anyone with the skill and the inclination to write an extension similar to the Jmol extension (https://www.mediawiki.org/wiki/Extension:Jmol) but for the 2D chemical structure viewer and editor, Marvin JS? I personally do not have the skill to write such an extension but as Marvin JS is written in Javascript I wouldn't imagine it'd be too difficult for someone with the programming skill to create such an extension. Fuse809 (talk) 18:41, 3 February 2015 (UTC)

Jasper Deng (talkcontribs)

Unfortunately I do not. If it's in JS, a gadget might be a better idea - Extension:Gadgets.

Reply to "Marvin JS extension"
Lieutenant S. Reznov (talkcontribs)

I'm working on a form application that I plan to use as a basis for the contact form extension I'm working on. (the login would be removed, as MediaWiki would provide the user accounts)

There's a problem that I get when I try to run the script for creating the database tables.

This is the page that has the script: ($dbprefix is just for this application, I'll change it to the one MediaWiki uses when I make the extension. I believe I may have entered that right)

<?php

// Get user account information from installation form

$new_admin_username = trim($_REQUEST['new_admin_username']);
$new_admin_password = trim($_REQUEST['new_admin_password']);

// Create the user table

$create_user_table = "
mysql> CREATE TABLE /*$dbprefix*/users (
     -> user_id    int           AUTO_INCREMENT PRIMARY KEY,
     -> username   varchar(30)   NOT NULL,
     -> password   varchar(30)   NOT NULL
     -> )
";

mysql_query($create_user_table)
  or die(mysql_error());

// Create table for storing messages

$create_message_table = "
mysql> CREATE TABLE /*$dbprefix*/messages (
    -> message_id      int           AUTO_INCREMENT PRIMARY KEY,
    -> sender_name     varchar(50)   NOT NULL,
    -> sender_email    varchar(50)   NOT NULL,
    -> sender_message  varchar(2000) NOT NULL
    -> )
";

mysql_query($create_message_table)
  or die(mysql_error());

// Create user account

$new_admin_create_account = "
mysql> INSERT INTO /*$dbprefix*/users (username, password)
            VALUES ('{mysql_real_escape_string($new_admin_username)}',
                    '{mysql_real_escape_string($new_admin_password)}');
";

mysql_query($new_admin_create_account)
  or die(mysql_error());

?>

Here's the error I get:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql> CREATE TABLE /**/users ( -> user_id int AUTO_INCREMENT ' at line 1

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Lieutenant S. Reznov (talkcontribs)

Never mind, I fixed it.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Reply to "PHP/MySQL question"

i can not post my homepage link to my user profile...?

Be the first to comment! • 21:36, 23 October 2015 3 months ago
0
Reply to "i can not post my homepage link to my user profile...?"
Reply to "are you there ?"
Nicole Sharp (talkcontribs)

Sorry, I just saw your post after posting to [user talk:Quiddity (WMF)]. I still cannot post my homepage or homewiki link to my userprofile. ~~~~

Never mind, issue resolved. ~~~~

Reply to "[[user:Nicole Sharp]]"
Abhinav (talkcontribs)

Hi Jasper, my request here has been hanging since 7 June, while most of my requests on other wikiprojects have already been accepted. I understand this is not very urgent, but I request you to please look into this sometime soon. I am also willing to wait if this has been a part of the process of informing the target username for usurpation. Thank you. D abhi (talk) 14:47, 21 June 2014 (UTC)

This post was posted by Abhinav, but signed as D abhi.

Reply to "Usurpation Request (SUL)"
Lieutenant S. Reznov (talkcontribs)

I just requested a username change.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein/Александры реактион.

Reply to "[[Project:Requests]]"