Newbie question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Just started a course on PHP and we're doing stuff with mySQL.

On this page:

In example 2, there are these lines:

while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
printf("ID: %s Name: %s", $row[0], $row[1]);

What is the %s -  a variable into the array or something?


Re: Newbie question

MikeB wrote:
Quoted text here. Click to load it

Look at
Rik Wasmus
...spamrun finished

Re: Newbie question

Quoted text here. Click to load it


Site Timeline