MySQL e-mail registration problem ?
#4

Quote:
Originally Posted by sampkinq
Посмотреть сообщение
Код:
warning 224: indeterminate array size in "sizeof" expression (symbol "")
try it

PHP код:
new bool:flag=false
for(new 
i=0;i<=strlen(inputtext);i++) 

if(
inputtext[i]=='@'

flag=true
break; 


if(!
flag

//if the inputted string does not have @ do the correspondense 

NOTE:above code is just example..and it will only detect @ you can think logically and make it work for '.' and other things you want
Reply


Messages In This Thread
E-mail registration problem ? - by sampkinq - 02.07.2016, 14:01
Re: MySQL e-mail registration problem ? - by SyS - 02.07.2016, 14:06
Re: MySQL e-mail registration problem ? - by sampkinq - 02.07.2016, 14:14
Re: MySQL e-mail registration problem ? - by SyS - 02.07.2016, 14:21
Re: MySQL e-mail registration problem ? - by sampkinq - 02.07.2016, 14:22
Re: MySQL e-mail registration problem ? - by SyS - 02.07.2016, 14:23
Re: MySQL e-mail registration problem ? - by Vince - 02.07.2016, 14:30
Re: MySQL e-mail registration problem ? - by d1git - 02.07.2016, 15:54

Forum Jump:


Users browsing this thread: 3 Guest(s)