Jump to content

nightleech

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

nightleech's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That link doesnt help very much .. So maybe there is a book like working with php and mssql or odbc? And one more question. After executing my php scrip i get an error: SQL error: [Microsoft][ODBC SQL Server Driver] Must declare the scalar variable "@return_value". . So how i could declare that scalar variable?
  2. Hello, I need help calling MS SQL procedure from PHP. I'v readed manuals on internet but still doesnt understand how to solve my problem. My chief gave me the MS SQl procedure and wanted that i wrote PHP script that outputs some info. Here is SQL procedure: USE [Database_name] GO DECLARE @return_value int EXEC @return_value = [dbo].[cards] @item = N'Items_code_05115' SELECT 'Return Value' = return_value GO Now, how to execute this procedure and get values from database? I am completly noob at MS SQL procedure execution from php. Please help me to get on the right way.
×
×
  • 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.