Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

same insert statement php mysql

php mysql

want to use the same 1 insert statement

if $int is not an int
make int null

so I do not have to repeat the insert statement if there is no $int
ASKER CERTIFIED SOLUTION
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

Thanks