Jump to content

Limiting a variable string?


spikypunker

Recommended Posts

You could do this in your query, in php, or in javascript (but I am pretty sure not cleanly using CSS, which is where you posted the question.) Each method has advantages and disadvantages, such as how much data you send to the browser, will you typically need the whole content during the same browser session or not... Which method (query, php, javascript) were you planning on using to get the first x characters of the result and do you always need the full result on the same page or during the same browser session?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.