mysqli send query but dont bother with result? php mysql -


ive searched , there similar questions havent found answer exactly. im sure trivial need help

so want php make column

all of mysqli ive done far has followed pattern of

$query = "abc"; $result = mysqli_query($connection, $query); 

$row = mysqli_fetch_array($result) - or similar

obviously dont want array or maybe true or false really, if works should create column , thats end of it.

not sure , mysqli seems bit finicky idk

any appreciated

mysqli_query need.

mysqli_query performs query on database providing have no mysql syntax errors you'll fine.

you need use $row = mysqli_fetch_array($result) when want return results of select.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -