PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$result = mysql_query("SELECT * FROM table");
// use 1
while($array = mysql_fetch_assoc($result))
{
// do this
}
// use 2
while($array2 = mysql_fetch_assoc($result))
{
// do this
}
Currently it's not working in my script.. is there a way to make it work?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
so if I'd want to return the internal datapointer to the first row (as if I just made the query) I'd use mysql_data_seek($result,0) ?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
okay.. that worked. I assume it's correct. guess i'll figure it out when i complete the script
thanks, feyd.. as always
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.