Get Auto Increment value from MySQL table

Many a times we require the next Auto Increment value from a MySQL table. Most of the people would do something like this: $query = “Select MAX(id) from users”; $res = mysql_query($query); $row = mysql_fetch_assoc($res); $maxid = $row[‘MAX(id)’]; echo $maxid; This would give correct results but if we delete the latest row, it will start… Continue reading Get Auto Increment value from MySQL table

[Solved] Absolute positioning and screen-resolution problem

Absolute positioning is great for positioning items anywhere on a page but it does not mix well with screen-resolution. It might look fine on your resolution but it might look completely different on another resolution. Element placement changes upon changing the screen resolution or even when resizing the browser window. It is because items positioning… Continue reading [Solved] Absolute positioning and screen-resolution problem