Jump to content

DarkVision

New Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

DarkVision's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi fellows please advise i am stuck on this for the last 3-4 days cant figure it out i am using MSSQL 2005 sp4 with xampp 1.7.3 and than this happens attached file below i tried every single solution that i could find and still nothing please advise
  2. i didnt finished the code so if i will echo it it should work can you guys show me the finish of my code i am a noob coder please help me to finish the code
  3. as i am telling for every each and one of you i am trying to finish a web register page using this and i need to now how to finish
  4. is this 100% ok to do ? function getRegisteredBy($Reg) { switch($Reg){ case 0: return "AccountName"; case 1: return "AccountPassword"; case 2: return "AccountEmail"; } } $Reg = mssql_query("INSERT INTO MEMB_INFO (memb___id,memb__pwd,memb_mail,) VALUES ($AccountName,$AccountPassword,$AccountEmail)");
  5. syntax error Unexpected T_Function this is the error in the function line
  6. still has an error please how to finish the code ? function getRegisteredBy($Reg); { switch($Reg){ case 0: return "AccountName"; case 1: return "AccountPassword"; case 2: return "AccountEmail"; } } $Reg = mssql_query("INSERT INTO MEMB_INFO (memb___id,memb__pwd,memb_mail,) VALUES ($AccountName,$AccountPassword,$AccountEmail)");
  7. in my php designer it gives an error when i try to type function getRegisterBy($reg)
  8. i need help i started a code of a page Register.php and i need to now what to do now and if this function is 100% ok with the php rules is that more clear ?
  9. hi guys i need help i started a code of a page Register.php and i need to now what to do now and if this function is 100% ok with the php rules <?php // ---- session_start(); error_reporting(E_ALL); include_once("...\\config.php") //---------------------------------------------------- function getRegisteredBy($Reg); { switch($Reg){ case 0: return "AccountName"; case 1: return "AccountPassword"; case 2: return "AccountEmail"; } } $Reg = mssql_query("INSERT INTO MEMB_INFO (memb___id,memb__pwd,memb_mail,) VALUES ($AccountName,$AccountPassword,$AccountEmail)"); ?> thx for the help and have a good day
×
×
  • 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.