Can I pass different parameters to my php function depending on CSS3 media queries? -
i have php function 'limitwords' limit words of text coming database.
when call function need pass number of characters want show: lmword($readdatabase['content'],300)
it possible execute function in different way, depending on width of device? because, im using media queries in project, , want execute limitwords() function in different way differentes media queries.
for example mobile, don't want 300 characters, want 150. possible this?
Comments
Post a Comment