Learn R Programming

webdeveloper (version 0.1.0)

fromInput: Prepare values collected from HTML forms to save to a SQL database by calling quoteText. If x is "", returns "NULL".

Description

Prepare values collected from HTML forms to save to a SQL database by calling quoteText. If x is "", returns "NULL".

Usage

fromInput(x)

Arguments

x

A vector of length 1.

Value

A string, if x is "", returns "NULL".

Examples

Run this code
# NOT RUN {
fromInput("Test")
fromInput("100")
fromInput(100)
fromInput("")
# }

Run the code above in your browser using DataLab