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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -