> after a long break I'm back again, and it wouldn't be me, > if I didn't want to turn around everything :) > > What I've recognized is that the page-width of > http://www.php.net/manual/en/security.database.php causes difficulties > to read this chapter for people with a smaller screen-resolution. > > So I'd like to do the following changes to ease this situation a little bit: > > change line 787 > $query = "SELECT * FROM products WHERE id LIKE '%a%' exec master..xp_cmdshell 'net > user test testpass /ADD'--"; > to > $query = "SELECT * FROM products > WHERE id LIKE '%a%' > exec master..xp_cmdshell 'net user test testpass /ADD'--"; > > and line 859 > $query = sprintf("SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET %d;", > $offset); > to > $query = sprintf("SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET %d;", > $offset); > > This change might make reading these 2 code-lines more difficult, but eases > the reading of the whole chapter.
Feel free to modify ;) Goba