Displaying 1 result from an estimated 1 matches for "tracking_copy_temp".
2010 Jul 14
1
Write value to PHP webpage
...CSV file
outfile <-paste(filepath,"Animal_Distances",".csv",sep="")
write.csv(dat3,file=outfile, quote = FALSE, row.names = FALSE)
# Create PHP connection and export distance traveled to specific
location in PHP code
PHP <-file(description = "x:/Web/Gnu/tracking_copy_temp.php", open = "r+")
###### This is the part that doesn't work.#######
# Write dat3 value to correct line in code, need where statement
writeLines(dat3$Distance, con = PHP)
# Close PHP connection
close(PHP)
}
Thanks in advance for any suggestions.
Jared
[[alternative HT...