Hello everyone,
I cannot seem to get this working. I have this as my if followed by a get form:
PHP Code:
if (isset($HTTP_GET_VARS[addcomputer])):
and i am trying to get the variables into my insert statement but i cannot figure out how to script the Post Method variables back in.
PHP Code:
if (SUBMIT == $submitcomputer) {
$sql = INSERT INTO mactrix SET .
assetnum=$assetnum, .
cpu=$cpu, .
os=$os, .
loc=$loc, .
sn=$sn, .
macaddress=$macaddress, .
warrentee=$warrentee ;
Any help would be awesome thanks!!
Hello everyone,
I cannot seem to get this working. I have this as my if followed by a get form:
PHP Code:
if (isset($HTTP_GET_VARS[addcomputer])):
and i am trying to get the variables into my insert statement but i cannot figure out how to script the Post Method variables back in.
PHP Code:
if (SUBMIT == $submitcomputer) {
$sql = INSERT INTO mactrix SET .
assetnum=$assetnum, .
cpu=$cpu, .
os=$os, .
loc=$loc, .
sn=$sn, .
macaddress=$macaddress, .
warrentee=$warrentee ;
Any help would be awesome thanks!!
|
|
Search Webmaster Help and Solution
Get MethodRelated ItemsQuery failed: connection to localhost:3354 failed (errno=111, msg=Connection refused). |
